diff --git a/src/user/notifications.js b/src/user/notifications.js index 74dc2f7e95..518d78a4c0 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -91,7 +91,7 @@ UserNotifications.getNotifications = async function (nids, uid) { notification.readClass = !notification.read ? 'unread' : ''; } - return notification && notification.path; + return notification; }); await deleteUserNids(deletedNids, uid);