enables nsfw updates #912
2 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue