mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-19 08:05:16 +00:00
Fix bad check
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user