From fe6b5b5b0499f83eecc9a3098b3037d206758007 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Thu, 16 May 2024 14:10:17 +0700 Subject: [PATCH] Update ProfileDisciplineController.ts --- src/controllers/ProfileDisciplineController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileDisciplineController.ts b/src/controllers/ProfileDisciplineController.ts index 5bbf85eb..cb374bb9 100644 --- a/src/controllers/ProfileDisciplineController.ts +++ b/src/controllers/ProfileDisciplineController.ts @@ -36,7 +36,7 @@ export class ProfileDisciplineController extends Controller { @Get("{profileId}") public async getDiscipline(@Path() profileId: string) { const lists = await this.disciplineRepository.find({ - where: { profileEmployeeId: profileId }, + where: { profileId: profileId }, select: [ "id", "date",