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 #195 from gsainfoteam/mig
Browse files Browse the repository at this point in the history
update : add eager option in scoring
  • Loading branch information
minjunj authored May 24, 2024
2 parents f639138 + 1f237d9 commit fe20269
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 fe20269

Please sign in to comment.