Return new member after member PATCH (#191)
This commit is contained in:
parent
224b653ee0
commit
0d2777c1d1
@ -88,7 +88,7 @@ namespace PluralKit.API
|
||||
}
|
||||
|
||||
var newMember = await conn.UpdateMember(member.Id, patch);
|
||||
return Ok(member.ToJson(User.ContextFor(newMember)));
|
||||
return Ok(newMember.ToJson(User.ContextFor(newMember)));
|
||||
}
|
||||
|
||||
[HttpDelete("{hid}")]
|
||||
|
Loading…
Reference in New Issue
Block a user