Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #196 from gsainfoteam/master
Browse files Browse the repository at this point in the history
update : eager option true in scoring entity
  • Loading branch information
minjunj authored May 24, 2024
2 parents 90decdd + fe20269 commit 078a300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scoring/entity/scoring.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Scoring {
@ManyToOne(() => Lecture, (lecture) => lecture.scoring)
lecture: Lecture;

@ManyToOne((Type) => Prof, (prof) => prof.id, {})
@ManyToOne((Type) => Prof, (prof) => prof.id, { eager: true })
prof: Prof;
scoring: Lecture;
}

0 comments on commit 078a300

Please sign in to comment.