From 7f037eb9750aa90956826215eb2f279a01da5a09 Mon Sep 17 00:00:00 2001 From: kittapath Date: Wed, 8 Jan 2025 18:50:05 +0700 Subject: [PATCH] remove isuse --- src/controllers/ProfileController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 29864017..0f2fcd10 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -5896,7 +5896,7 @@ export class ProfileController extends Controller { @Get("citizenid/position/{id}") async getProfileByCitizenId(@Request() request: RequestWithUser, @Path() id: string) { const profile = await this.profileRepo.findOne({ - where: { citizenId: id, isActive: true, profileEducations: { isUse: true } }, + where: { citizenId: id, isActive: true }, relations: [ "posLevel", "posType",