diff --git a/src/helpers/ConversationsHelper.ts b/src/helpers/ConversationsHelper.ts index c19df64..ab2eea7 100644 --- a/src/helpers/ConversationsHelper.ts +++ b/src/helpers/ConversationsHelper.ts @@ -234,7 +234,7 @@ export class ConversationsHelper { */ public static async IsUserModerator(userID : number, convID : number) : Promise { return await DatabaseHelper.Count({ - table: USERS_TABLE, + table: LIST_TABLE, where: { id: convID, user_id: userID