This commit is contained in:
barisusakli
2014-07-28 15:52:33 -04:00
parent 4d73a563c5
commit d7520508e3
12 changed files with 335 additions and 252 deletions

View File

@@ -163,8 +163,10 @@ module.exports = function(User) {
bodyLong: '',
image: 'brand:logo',
datetime: Date.now()
}, function(nid) {
notifications.push(nid, uid);
}, function(err, nid) {
if (!err) {
notifications.push(nid, uid);
}
});
}