1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-27 22:18:52 +00:00

Fix bad check

This commit is contained in:
Pierre HUBERT 2020-03-24 08:12:27 +01:00
parent 5eea10398d
commit a40812f751

View File

@ -91,7 +91,7 @@ export class NotificationsHelper {
private static async SimilarExists(n: Notif) : Promise<boolean> {
return await DatabaseHelper.Count({
table: NOTIFICATIONS_TABLE,
where: this.NotifToDB(n)
where: this.NotifToDB(n, false)
}) > 0;
}