Update error string
This commit is contained in:
parent
b34ed5c4c0
commit
7f3f81a111
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user