diff --git a/internal/middlewares/rate-limit.go b/internal/middlewares/rate-limit.go index 3a1ac09..e63cb04 100644 --- a/internal/middlewares/rate-limit.go +++ b/internal/middlewares/rate-limit.go @@ -80,7 +80,7 @@ func (rl *RateLimiter) RateLimitMiddleware() mux.MiddlewareFunc { RespondWithError(w, http.StatusTooManyRequests, fmt.Sprintf("%d Too many requests, API requests limit exceeded. Please try again later", http.StatusTooManyRequests)) } } - // Proceed to the next handler if requests limit is not exceeded + // Proceed to the next handler if the request limit is not exceeded next.ServeHTTP(w, r) }) }