0

Update rate-limiter.ts

This commit is contained in:
Nicolas 2024-05-21 18:53:58 -07:00
parent 229b9908d2
commit 253abb849f

View File

@ -54,7 +54,7 @@ export const testSuiteRateLimiter = new RateLimiterRedis({
export function getRateLimiter(mode: RateLimiterMode, token: string, plan?: string){ export function getRateLimiter(mode: RateLimiterMode, token: string, plan?: string){
// Special test suite case. TODO: Change this later. // Special test suite case. TODO: Change this later.
if (token.includes("5089cefa58")){ if (token.includes("5089cefa58") || token.includes("6254cf9")){
return testSuiteRateLimiter; return testSuiteRateLimiter;
} }
switch (mode) { switch (mode) {