mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: controller tests (#18100)
This commit is contained in:
parent
df2cf5d106
commit
f34f83e164
15 changed files with 183 additions and 101 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue