Skip to content

Commit

Permalink
Comments menu
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrotomassini committed Oct 20, 2023
1 parent 97a394b commit 4e19cfa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/video-comment/entities/video-comment.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ export class VideoComment {

@ManyToOne(
() => User,
(user) => user.course
(user) => user.course,
{ eager: true }
)
user: User;

@ManyToOne(
() => VideoCourse,
(videoCourse) => videoCourse.videoComment
(videoCourse) => videoCourse.videoComment,
{ eager: true }
)
videoCourse: VideoCourse;

Expand Down

0 comments on commit 4e19cfa

Please sign in to comment.