Update error string

This commit is contained in:
spiral 2021-04-21 23:09:45 +01:00 committed by GitHub
parent b34ed5c4c0
commit 7f3f81a111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ namespace PluralKit.API
} }
catch (InvalidPatchException e) 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); var newMember = await _repo.UpdateMember(conn, member.Id, patch);