feat: add email notification for post like
This commit is contained in:
@@ -791,6 +791,8 @@ func (s *Server) setupRouter() {
|
||||
r.Get("/", s.notificationH.List)
|
||||
r.Get("/unread-count", s.notificationH.UnreadCount)
|
||||
r.Post("/read", s.notificationH.MarkAllRead)
|
||||
r.Get("/email-prefs", s.notificationH.GetEmailPrefs)
|
||||
r.Put("/email-prefs", s.notificationH.UpdateEmailPrefs)
|
||||
})
|
||||
|
||||
// --- Web Push --- VAPID key + per-user subscription management.
|
||||
|
||||
Reference in New Issue
Block a user