diff --git a/src/app.module.ts b/src/app.module.ts index 8b2ac0c..b3e06f1 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -31,11 +31,11 @@ import { ThrottlerStorageRedisService } from "nestjs-throttler-storage-redis"; }, { provide: APP_GUARD, - useClass: JwtAuthGuard, + useClass: ThrottlerGuard, }, { provide: APP_GUARD, - useClass: ThrottlerGuard, + useClass: JwtAuthGuard, }, ], })