1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-28 14:38:52 +00:00

Fix MAJOR typo

This commit is contained in:
Pierre HUBERT 2019-12-07 18:02:44 +01:00
parent 83e61f49ca
commit c9ee727629

View File

@ -234,7 +234,7 @@ export class ConversationsHelper {
*/
public static async IsUserModerator(userID : number, convID : number) : Promise<boolean> {
return await DatabaseHelper.Count({
table: USERS_TABLE,
table: LIST_TABLE,
where: {
id: convID,
user_id: userID