소스 검색

fix comment

Shun Miyazawa 1 년 전
부모
커밋
f8d97f2912
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/app/src/features/rate-limiter/middleware/factory.integ.ts

+ 2 - 2
apps/app/src/features/rate-limiter/middleware/factory.integ.ts

@@ -3,8 +3,8 @@ import { faker } from '@faker-js/faker';
 import { consumePoints } from './consume-points';
 
 const testRateLimitErrorWhenExceedingMaxRequests = async(method: string, key: string, maxRequests: number): Promise<void> => {
-  // // dynamic import is used because rateLimiterMongo needs to be initialized after connecting to DB
-  // // Issue: https://github.com/animir/node-rate-limiter-flexible/issues/216
+  // dynamic import is used because rateLimiterMongo needs to be initialized after connecting to DB
+  // Issue: https://github.com/animir/node-rate-limiter-flexible/issues/216
   const { rateLimiter } = await import('./rate-limiter-mongo-client');
   let count = 0;
   try {