Await member delete
This commit is contained in:
parent
f2a71a333b
commit
1cfeaf281b
@ -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…
Reference in New Issue
Block a user