mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): /user profile endpoint (#9669)
* refactor(server): user profile endpoint * chore: open api
This commit is contained in:
parent
ecd018a826
commit
8f37784eae
8 changed files with 60 additions and 60 deletions
|
|
@ -101,7 +101,7 @@ export class UserController {
|
|||
return this.service.createProfileImage(auth, fileInfo);
|
||||
}
|
||||
|
||||
@Get('profile-image/:id')
|
||||
@Get(':id/profile-image')
|
||||
@FileResponse()
|
||||
@Authenticated()
|
||||
async getProfileImage(@Res() res: Response, @Next() next: NextFunction, @Param() { id }: UUIDParamDto) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue