diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index da348115..76b226c2 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -204,6 +204,10 @@ export class ProfileController extends Controller { @Get("{id}") async detailProfile(@Path() id: string) { const profile = await this.profileRepository.findOne({ + relations: { + posLevel: true, + posType: true, + }, where: { id }, select: [ "id",