refactor: controller tests (#18100)

This commit is contained in:
Jason Rasmussen 2025-05-05 18:57:32 -04:00 committed by GitHub
parent df2cf5d106
commit f34f83e164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 183 additions and 101 deletions

View file

@ -23,8 +23,8 @@ export class AuthController {
@Post('login')
async login(
@Body() loginCredential: LoginCredentialDto,
@Res({ passthrough: true }) res: Response,
@Body() loginCredential: LoginCredentialDto,
@GetLoginDetails() loginDetails: LoginDetails,
): Promise<LoginResponseDto> {
const body = await this.service.login(loginCredential, loginDetails);