fix instance ban api call
This commit is contained in:
parent
1ade94470a
commit
2cf8f51718
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ class User extends SnowFlake {
|
|||
options.addTitle(I18n.user.confirmInstBan(this.name));
|
||||
const opt = options.addOptions("", {ltr: true});
|
||||
opt.addButtonInput("", I18n.yes(), () => {
|
||||
fetch(this.info.api + "/users/" + this.id, {
|
||||
fetch(this.info.api + "/users/" + this.id + "/delete", {
|
||||
headers: this.localuser.headers,
|
||||
method: "POST",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue