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'
id='publish-nsfw'
name='nsfw'
value={nsfw}
checked={nsfw}
onChange={handleInput}
/>
}

View file

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