Await member delete

This commit is contained in:
Grey Himmel 2019-08-08 11:52:34 -04:00 committed by Astrid
parent f2a71a333b
commit 1cfeaf281b

View File

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