refactor: refactoring of code to meet all golangci-lint requirements

This commit is contained in:
Jonas Kaninda
2024-11-17 06:40:58 +01:00
parent 4d75e7d31d
commit 0b5e11a5dd

View File

@@ -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)
})
}