We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ff3d6 commit a8b5e86Copy full SHA for a8b5e86
1 file changed
packages/backend/src/interface/http/controllers/auth.controller.ts
@@ -59,7 +59,9 @@ export class AuthController {
59
@Post('login')
60
@Public()
61
@HttpCode(HttpStatus.OK)
62
- @Throttle({ default: { limit: Number(process.env.LOGIN_RATE_LIMIT ?? '5'), ttl: 60000 } })
+ @Throttle({
63
+ default: { limit: Number(process.env.LOGIN_RATE_LIMIT ?? '5'), ttl: 60000 },
64
+ })
65
async login(
66
@Body(new ZodValidationPipe(LoginInputSchema)) body: LoginInput,
67
@Res({ passthrough: true }) res: Response,
0 commit comments