Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2024-06-11 18:28:41 +07:00
commit e184714676
2 changed files with 15 additions and 1 deletions

View file

@ -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 },
});