refactor(server): /user profile endpoint (#9669)

* refactor(server): user profile endpoint

* chore: open api
This commit is contained in:
Jason Rasmussen 2024-05-22 14:31:12 -04:00 committed by GitHub
parent ecd018a826
commit 8f37784eae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 60 deletions

View file

@ -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) {