Skip to content

Commit

Permalink
chore: Apply a proper logic for NotificationQueue.ts (RocketChat#33851)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lao-Ax authored Dec 13, 2024
1 parent a129e3e commit 85980d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class NotificationClass {
return true;
}

return this.worker(counter++);
return this.worker(++counter);
}

getNextNotification(): Promise<INotification | null> {
Expand Down

0 comments on commit 85980d7

Please sign in to comment.