fix post editing
This commit is contained in:
parent
b477bcbdf5
commit
9912de1200
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ export const editStatus = ({
|
||||||
contentType,
|
contentType,
|
||||||
}) => {
|
}) => {
|
||||||
const form = new FormData()
|
const form = new FormData()
|
||||||
const pollOptions = poll.options || []
|
const pollOptions = poll?.options || []
|
||||||
|
|
||||||
form.append('status', status)
|
form.append('status', status)
|
||||||
if (spoilerText) form.append('spoiler_text', spoilerText)
|
if (spoilerText) form.append('spoiler_text', spoilerText)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue