mirror of
https://github.com/immich-app/immich.git
synced 2025-12-17 17:23:20 +03:00
test(server): auth e2e (#3492)
* test(server): auth controller e2e test * test(server): user e2e test * refactor(server): album e2e * fix: linting
This commit is contained in:
@@ -77,6 +77,7 @@ export class UserController {
|
||||
return this.service.restoreUser(authUser, userId);
|
||||
}
|
||||
|
||||
// TODO: replace with @Put(':id')
|
||||
@Put()
|
||||
updateUser(@AuthUser() authUser: AuthUserDto, @Body() updateUserDto: UpdateUserDto): Promise<UserResponseDto> {
|
||||
return this.service.updateUser(authUser, updateUserDto);
|
||||
|
||||
Reference in New Issue
Block a user