From 5b37f3eafb0222cf5d5f6e694cf38f998354b621 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Fri, 31 Mar 2023 21:56:20 +0200 Subject: [PATCH] fix, case --- src/server/errors.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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