enables nsfw updates #912

Merged
jessopb merged 1 commit from nsfwSupport into master 2019-02-14 00:18:47 +01:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 5e8e22dcad - Show all commits

View file

@ -14,7 +14,7 @@ const PublishNsfwInput = ({ nsfw, handleInput }) => {
type='checkbox' type='checkbox'
id='publish-nsfw' id='publish-nsfw'
name='nsfw' name='nsfw'
value={nsfw} checked={nsfw}
onChange={handleInput} onChange={handleInput}
/> />
} }

View file

@ -53,6 +53,7 @@ module.exports = async (data, chName = null, chShortId = null) => {
claimId: dataVals.claim_id || data.claimId, claimId: dataVals.claim_id || data.claimId,
fileExt: fileExt, fileExt: fileExt,
description: dataVals.description, description: dataVals.description,
nsfw: dataVals.is_nsfw,
thumbnail: dataVals.thumbnail_url || data.thumbnail || thumbnail, thumbnail: dataVals.thumbnail_url || data.thumbnail || thumbnail,
outpoint, outpoint,
host, host,