Fix bug
This commit is contained in:
parent
b60ed8f20c
commit
7600ce2591
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
this.api('posts/create', {
|
this.api('posts/create', {
|
||||||
text: this.refs.text.value,
|
text: this.refs.text.value == '' ? undefined : this.refs.text.value,
|
||||||
media_ids: files,
|
media_ids: files,
|
||||||
reply_to_id: this.reply ? this.reply.id : undefined,
|
reply_to_id: this.reply ? this.reply.id : undefined,
|
||||||
channel_id: this.channel.id
|
channel_id: this.channel.id
|
||||||
|
|
Loading…
Reference in a new issue