From 7f3f81a111e2b8f72657c26f50330f67f4ffac5b Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 21 Apr 2021 23:09:45 +0100 Subject: [PATCH] Update error string --- 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 1020887a..56a5ae43 100644 --- a/PluralKit.API/Controllers/v1/MemberController.cs +++ b/PluralKit.API/Controllers/v1/MemberController.cs @@ -104,7 +104,7 @@ namespace PluralKit.API } catch (InvalidPatchException e) { - return BadRequest($"Request field is invalid: {e.Message}"); + return BadRequest($"Request field '{e.Message}' is invalid."); } var newMember = await _repo.UpdateMember(conn, member.Id, patch);