mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +00:00
Fix bad check
This commit is contained in:
parent
5eea10398d
commit
a40812f751
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user