Update error string

This commit is contained in:
spiral
2021-04-21 23:09:45 +01:00
committed by GitHub
parent b34ed5c4c0
commit 7f3f81a111

View File

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