From 0d2777c1d14e2d158d9e243e6904223b523a0b23 Mon Sep 17 00:00:00 2001 From: Grey Himmel Date: Sun, 5 Jul 2020 06:54:51 -0400 Subject: [PATCH] Return new member after member PATCH (#191) --- PluralKit.API/Controllers/v1/MemberController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.API/Controllers/v1/MemberController.cs b/PluralKit.API/Controllers/v1/MemberController.cs index 4200799e..769a682d 100644 --- a/PluralKit.API/Controllers/v1/MemberController.cs +++ b/PluralKit.API/Controllers/v1/MemberController.cs @@ -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}")]