We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bfd91 commit 828254bCopy full SHA for 828254b
src/api/api.controller.ts
@@ -30,7 +30,7 @@ import * as Sentry from '@sentry/node';
30
import { LoginDto } from './dto/login.dto';
31
import { SendOtpDto } from './dto/send-otp.dto';
32
import { VerifyOtpDto } from './dto/verify-otp.dto';
33
-import { Throttle } from '@nestjs/throttler';
+import { Throttle, SkipThrottle} from '@nestjs/throttler';
34
// eslint-disable-next-line @typescript-eslint/no-var-requires
35
const CryptoJS = require('crypto-js');
36
@@ -54,7 +54,7 @@ export class ApiController {
54
};
55
}
56
57
- @Throttle(100, 60)
+ @SkipThrottle()
58
@Get('sendOTP')
59
@UsePipes(new ValidationPipe({ transform: true }))
60
async sendOTP(
0 commit comments