no message

This commit is contained in:
Kittapath 2024-06-11 16:53:29 +07:00
parent 8337a92637
commit 72e746a0c2

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