generateNotificationPaths

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 8c0dfa1217
commit cc92d09498

@ -109,6 +109,11 @@ var async = require('async'),
return callback(err);
}
UserNotifications.generateNotificationPaths(notifications, uid, callback);
});
};
UserNotifications.generateNotificationPaths = function (notifications, uid, callback) {
var pids = notifications.map(function(notification) {
return notification ? notification.pid : null;
});
@ -137,7 +142,6 @@ var async = require('async'),
callback(null, notifications);
});
});
};
function generatePostPaths(pids, uid, callback) {

Loading…
Cancel
Save