fix: fixed typo in calling the rate limiter middleware

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