fix instance ban api call

This commit is contained in:
MathMan05 2025-04-09 14:01:41 -05:00
parent 1ade94470a
commit 2cf8f51718

View file

@ -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",
});