diff --git a/src/misc/sequentialize.ts b/src/misc/sequentialize.ts index de223e2e25..ab64074472 100644 --- a/src/misc/sequentialize.ts +++ b/src/misc/sequentialize.ts @@ -24,7 +24,7 @@ export function sequentialize(cacheKey: (args: any[]) => string) { }; return { - value: function (...args: any[]) { + value: function(...args: any[]) { const cache = getCache(this); const argsCacheKey = cacheKey(args); let response = cache.get(argsCacheKey); diff --git a/src/misc/throttle.ts b/src/misc/throttle.ts index d4fc553f06..3a295ba69d 100644 --- a/src/misc/throttle.ts +++ b/src/misc/throttle.ts @@ -21,7 +21,7 @@ export function throttle(limit: number, throttleKey: (args: any[]) => string) { }; return { - value: function (...args: any[]) { + value: function(...args: any[]) { const throttles = getThrottles(this); const argsThrottleKey = throttleKey(args); let queue = throttles.get(argsThrottleKey);