Merge branch 'develop' into adiDev
This commit is contained in:
commit
e184714676
2 changed files with 15 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export class ProfileAvatarController extends Controller {
|
|||
@Get("profileId/{id}")
|
||||
async getProfile(@Path() id: string) {
|
||||
const profile = await this.profileRepository.findOne({
|
||||
select: ["avatar", "avatarName"],
|
||||
select: ["id", "avatar", "avatarName"],
|
||||
where: { id },
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue