diff --git a/src/user/notifications.js b/src/user/notifications.js index 9815fe4f6b..d0efa369a1 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -42,7 +42,7 @@ async function filterNotifications(nids, filter) { } UserNotifications.getAll = async function (uid, filter) { - const nids = getAllNids(uid); + const nids = await getAllNids(uid); return await filterNotifications(nids, filter); };