spec(notes/create): 投稿されたnoteを返さないオプションを追加 (MisskeyIO#879)
This commit is contained in:
parent
8bd7884873
commit
535a6bc756
7 changed files with 20 additions and 5 deletions
|
@ -41,7 +41,8 @@ window.onload = async () => {
|
|||
|
||||
document.getElementById('submit').addEventListener('click', () => {
|
||||
api('notes/create', {
|
||||
text: document.getElementById('text').value
|
||||
text: document.getElementById('text').value,
|
||||
noCreatedNote: true,
|
||||
}).then(() => {
|
||||
location.reload();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue