feat(notifications): add endpoint to mark all notifications as read
This commit is contained in:
@ -535,6 +535,7 @@ func registerAPIRoutes(a *echo.Group) {
|
||||
}
|
||||
a.GET("/notifications", notificationHandler.ReadAllWeb)
|
||||
a.POST("/notifications/:notificationid", notificationHandler.UpdateWeb)
|
||||
a.POST("/notifications", apiv1.MarkAllNotificationsAsRead)
|
||||
|
||||
// Migrations
|
||||
m := a.Group("/migration")
|
||||
|
Reference in New Issue
Block a user