Skip to content

Commit a1d5ae3

Browse files
committed
fix: disabled archived check for past notification details
1 parent 4976a1d commit a1d5ae3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/pkg/api/router.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ func addNotificationRoutes(hs *handlers.HandlerService, publicRouter, internalRo
356356
internalDashboardNotificationSettingsRouter := internalNotificationRouter.NewRoute().Subrouter()
357357
// TODO add adb auth middleware to account dashboard endpoints once they are implemented
358358
if !debug {
359-
publicDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware, hs.VDBArchivedCheckMiddleware)
360-
internalDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware, hs.VDBArchivedCheckMiddleware)
359+
publicDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware)
360+
internalDashboardNotificationSettingsRouter.Use(hs.VDBAuthMiddleware)
361361
}
362362
dashboardSettingsEndpoints := []endpoint{
363363
{http.MethodGet, "/validator-dashboards/{dashboard_id}/groups/{group_id}/epochs/{epoch}", hs.PublicGetUserNotificationsValidatorDashboard, hs.InternalGetUserNotificationsValidatorDashboard},

0 commit comments

Comments
 (0)