You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(bootstrap): build RequireAuth once and reuse across route groups
Cleanup follow-up. setupAllRoutes already constructs optionalAuth and
injectPending once and reuses them; the auth-middleware threading added a fresh
middleware.RequireAuth(h.userService, prometheusMetrics) at each of the 6 route
groups. Build it once into a local and reuse, matching the surrounding pattern
and collapsing the duplicated multi-line .Use() blocks. No behavior change.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments