From 85980d736df2cd498f0197bb057715529f0fb431 Mon Sep 17 00:00:00 2001 From: Alex Plekhov <33345177+Lao-Ax@users.noreply.github.com> Date: Fri, 13 Dec 2024 22:11:49 +0300 Subject: [PATCH] chore: Apply a proper logic for NotificationQueue.ts (#33851) --- apps/meteor/app/notification-queue/server/NotificationQueue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/notification-queue/server/NotificationQueue.ts b/apps/meteor/app/notification-queue/server/NotificationQueue.ts index 78a9e931fcb5..8bfcead0e47f 100644 --- a/apps/meteor/app/notification-queue/server/NotificationQueue.ts +++ b/apps/meteor/app/notification-queue/server/NotificationQueue.ts @@ -102,7 +102,7 @@ class NotificationClass { return true; } - return this.worker(counter++); + return this.worker(++counter); } getNextNotification(): Promise {