fix bug
This commit is contained in:
parent
190f29c869
commit
3652acaf28
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class User {
|
|||
});
|
||||
this.contextmenu.addbutton("Message user", function () {
|
||||
fetch(this.info.api + "/users/@me/channels", { method: "POST",
|
||||
body: JSON.stringify({ "recipients": [this.id.id] }),
|
||||
body: JSON.stringify({ "recipients": [this.id] }),
|
||||
headers: this.localuser.headers
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue