chore: added nestjs version into auth module

This commit is contained in:
Balu Babu
2023-02-01 19:19:39 +05:30
parent b5e7877912
commit a1be3a3e77
3 changed files with 21 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ import { RTCookie } from 'src/decorators/rt-cookie.decorator';
import { AuthGuard } from '@nestjs/passport';
import { authCookieHandler, throwHTTPErr } from './helper';
@Controller('/v1/auth')
@Controller({ path: 'auth', version: '1' })
export class AuthController {
constructor(private authService: AuthService) {}