fix: missing notification

This commit is contained in:
Baris Usakli
2019-01-04 13:41:19 -05:00
parent 7809ba2800
commit 1a3838e13c

View File

@@ -119,7 +119,7 @@ module.exports = function (Posts) {
}, },
function (results, next) { function (results, next) {
if (results.notification) { if (results.notification) {
notifications.push(results.uids, next); notifications.push(results.notification, results.uids, next);
} else { } else {
next(); next();
} }