mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
part 1 of notif refactor
This commit is contained in:
@@ -480,7 +480,10 @@ accountsController.uploadPicture = function (req, res, next) {
|
||||
};
|
||||
|
||||
accountsController.getNotifications = function(req, res, next) {
|
||||
user.notifications.getAll(req.user.uid, 25, function(err, notifications) {
|
||||
user.notifications.getAll(req.user.uid, 40, function(err, notifications) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
res.render('notifications', {
|
||||
notifications: notifications
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user