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",