Node.js based forum software built for the modern web
add mising await
Barış Soner Uşaklı3fd2b856fe1e
diff --git a/src/notifications.js b/src/notifications.jsindex 79f447f201..c22d050a87 100644--- a/src/notifications.js+++ b/src/notifications.js@@ -373,7 +373,7 @@ Notifications.pushGroups = async function (notification, groupNames) {Notifications.rescind = async function (nids) {nids = Array.isArray(nids) ? nids : [nids];- nids = Notifications.filterExists(nids);+ nids = await Notifications.filterExists(nids);if (!nids.length) {return;}