From a40812f751c930d6c882094d5c832c71d29611e4 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 24 Mar 2020 08:12:27 +0100 Subject: [PATCH] Fix bad check --- src/helpers/NotificationsHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/NotificationsHelper.ts b/src/helpers/NotificationsHelper.ts index 420ea97..0c2004f 100644 --- a/src/helpers/NotificationsHelper.ts +++ b/src/helpers/NotificationsHelper.ts @@ -91,7 +91,7 @@ export class NotificationsHelper { private static async SimilarExists(n: Notif) : Promise { return await DatabaseHelper.Count({ table: NOTIFICATIONS_TABLE, - where: this.NotifToDB(n) + where: this.NotifToDB(n, false) }) > 0; }