mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-04 01:38:48 +09:00
Merge branch 'master' of https://github.com/syuilo/misskey
This commit is contained in:
commit
0c6b95889e
@ -171,7 +171,7 @@
|
||||
if (folder) data.append('folder_id', folder);
|
||||
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', CONFIG.apiUrl + '/drive/files/create', true);
|
||||
xhr.open('POST', this.CONFIG.apiUrl + '/drive/files/create', true);
|
||||
xhr.onload = e => {
|
||||
const driveFile = JSON.parse(e.target.response);
|
||||
|
||||
|
@ -268,7 +268,7 @@
|
||||
this.api('posts/create', {
|
||||
text: this.refs.text.value,
|
||||
media_ids: files,
|
||||
reply_to_id: this.inReplyToPost ? this.inReplyToPost.id : undefined,
|
||||
reply_to_id: opts.reply ? opts.reply.id : undefined,
|
||||
poll: this.poll ? this.refs.poll.get() : undefined
|
||||
}).then(data => {
|
||||
this.trigger('post');
|
||||
|
Loading…
Reference in New Issue
Block a user