fix(api): don't require '@me' string on own-system-only endpoints

This commit is contained in:
spiral
2021-11-28 18:33:41 -05:00
parent e85073665e
commit 318b9b5b66
4 changed files with 42 additions and 26 deletions

View File

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