fix: fixed typo in calling the rate limiter middleware

This commit is contained in:
FernandoJVideira committed 2025-07-20 18:24:30 +01:00
1 parent f85191b918
commit da42646bbf
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ func (api *api) mount() http.Handler {
AllowCredentials: false, AllowCredentials: false,
MaxAge: 300, MaxAge: 300,
})) }))
r.Use(api.RateLimiterMiddleware) r.Use(api.rateLimiterMiddleware)
r.Use(middleware.Timeout(60 * time.Second)) r.Use(middleware.Timeout(60 * time.Second))