diff --git a/src/server/errors.ts b/src/server/errors.ts index a221a85..e1e0975 100644 --- a/src/server/errors.ts +++ b/src/server/errors.ts @@ -22,8 +22,8 @@ export const act_error = { ROOM_LIMIT: "roomlimit", // you have exited your Room number limit ROOM_USER_LIMIT: "roomuserlimit", // this room is full ROOM_DATA_LIMIT: "roomdatalimit", // room is full - NOT_ROOM_ADMIN: "notroomAdmin", // your are not an Admin of this room, if it exists - NOT_IN_ROOM: "notinRoom", // your are not in this room + NOT_ROOM_ADMIN: "notroomadmin", // your are not an Admin of this room, if it exists + NOT_IN_ROOM: "notinroom", // your are not in this room OWNER: "owner", // you are the owner, so you are not allowed to do this CAT_NOT_EXISTS: "catnotexists", // referred category does not exists