mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Await member delete
This commit is contained in:
parent
f2a71a333b
commit
1cfeaf281b
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ namespace PluralKit.API.Controllers
|
||||||
|
|
||||||
if (member.System != _auth.CurrentSystem.Id) return Unauthorized($"Member '{hid}' is not part of your system.");
|
if (member.System != _auth.CurrentSystem.Id) return Unauthorized($"Member '{hid}' is not part of your system.");
|
||||||
|
|
||||||
_members.Delete(member);
|
await _members.Delete(member);
|
||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue