From c9ee727629627a54e0af2ec2fa35b362e3708d10 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 7 Dec 2019 18:02:44 +0100 Subject: [PATCH] Fix MAJOR typo --- src/helpers/ConversationsHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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