fix(lint)

This commit is contained in:
Alexander Drozdov
2020-04-01 16:07:41 +03:00
parent 28f7fbbab4
commit aebeedcfb3
+1 -1
View File
@@ -71,7 +71,7 @@ export const RATE_LIMIT_RULES = {
]
}
export function adjustRateLimits (clientLimits: RateLimiter[], headers: Headers) {
export function adjustRateLimits (clientLimits: RateLimiter[], headers: Headers) { /* eslint-disable no-console */
const DEBUG = false
if (!headers.has('x-rate-limit-ip') || !headers.get('x-rate-limit-ip-state')) return clientLimits