diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/notification.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/notification.go b/routers/user/notification.go index 7bc2da18db..deb98d589c 100644 --- a/routers/user/notification.go +++ b/routers/user/notification.go @@ -28,7 +28,7 @@ func GetNotificationCount(c *context.Context) { return } - count, err := models.GetNotificationUnreadCount(c.User) + count, err := models.GetNotificationCount(c.User, models.NotificationStatusUnread) if err != nil { c.Handle(500, "GetNotificationCount", err) return |