mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
fix(api): don't require '@me' string on own-system-only endpoints
This commit is contained in:
parent
e85073665e
commit
318b9b5b66
4 changed files with 42 additions and 26 deletions
|
|
@ -72,6 +72,7 @@ public static class Errors
|
|||
{
|
||||
public static PKError GenericBadRequest = new(400, 0, "400: Bad Request");
|
||||
public static PKError GenericAuthError = new(401, 0, "401: Missing or invalid Authorization header");
|
||||
public static PKError GenericMissingPermissions = new(403, 0, "403: Missing permissions to access this resource");
|
||||
|
||||
public static PKError SystemNotFound = new(404, 20001, "System not found.");
|
||||
public static PKError MemberNotFound = new(404, 20002, "Member not found.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue