Skip to content

Commit

Permalink
fix: disabled archived check for past notification details
Browse files Browse the repository at this point in the history
  • Loading branch information
remoterami committed Jan 9, 2025
1 parent 4976a1d commit a1d5ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/pkg/api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ func addNotificationRoutes(hs *handlers.HandlerService, publicRouter, internalRo
internalDashboardNotificationSettingsRouter := internalNotificationRouter.NewRoute().Subrouter()
// TODO add adb auth middleware to account dashboard endpoints once they are implemented
if !debug {
publicDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware, hs.VDBArchivedCheckMiddleware)
internalDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware, hs.VDBArchivedCheckMiddleware)
publicDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware)
internalDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware)
}
dashboardSettingsEndpoints := []endpoint{
{http.MethodGet, "/validator-dashboards/{dashboard_id}/groups/{group_id}/epochs/{epoch}", hs.PublicGetUserNotificationsValidatorDashboard, hs.InternalGetUserNotificationsValidatorDashboard},
Expand Down

0 comments on commit a1d5ae3

Please sign in to comment.