Update ProfileDisciplineController.ts

This commit is contained in:
AnandaTon 2024-05-16 14:10:17 +07:00
parent 62166c430e
commit fe6b5b5b04

View file

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