Update ProfileDisciplineController.ts
This commit is contained in:
parent
62166c430e
commit
fe6b5b5b04
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue