fix: missing await

This commit is contained in:
Barış Soner Uşaklı
2023-01-25 11:40:55 -05:00
parent ad2236d77c
commit df66f71cfc

View File

@@ -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);
};