Merge pull request #912 from jessopb/nsfwSupport

enables nsfw updates
This commit is contained in:
jessopb 2019-02-13 18:18:46 -05:00 committed by GitHub
commit 8830f5e7b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,