enables nsfw updates

This commit is contained in:
jessop 2019-02-12 19:38:07 -05:00
parent 1d02b6e295
commit 5e8e22dcad
2 changed files with 2 additions and 1 deletions

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,