mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 23:51:15 +00:00
feat: notifications
This commit is contained in:
@@ -390,3 +390,11 @@ func validateUsername(username string) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func ResetUserNotificationsCount(userID uint) error {
|
||||
return dao.ResetUserNotificationsCount(userID)
|
||||
}
|
||||
|
||||
func GetUserNotificationsCount(userID uint) (uint, error) {
|
||||
return dao.GetUserNotificationCount(userID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user