mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix stupid mistake
This commit is contained in:
parent
2a00b9c7a2
commit
3eb13ccdd1
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module.exports =
|
|||
logger.log {user_id:user?._id}, "getting unread announcements"
|
||||
AnnouncementsHandler.getUnreadAnnouncements user, (err, announcements)->
|
||||
if err?
|
||||
logger.err {err, user._id}, "unable to get unread announcements"
|
||||
logger.err {err:err, user_id:user._id}, "unable to get unread announcements"
|
||||
next(err)
|
||||
else
|
||||
res.json announcements
|
||||
|
|
Loading…
Reference in a new issue