Skip to content

Commit

Permalink
Update router.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexeyzem authored Dec 22, 2024
1 parent 3f937e2 commit 28d8400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/router/profile/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func NewRouter(
router.Handle("/api/v1/metrics", promhttp.Handler())

//res := middleware.Auth(sm, router)
res = middleware.Preflite(res)
res := middleware.Preflite(router)
res = middleware.AccessLog(logger, res)
res = middleware.HttpMetricsMiddleware(httpMetric, res)

Expand Down

0 comments on commit 28d8400

Please sign in to comment.