Skip to content

Commit

Permalink
Update Course.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeCarillo authored May 18, 2024
1 parent 337047d commit eb999da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/structure/entities/Course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class Course {
course: string;

constructor(props: CourseProps) {
this.id = 1;
this.id = props.id;
this.course = this.validate_set_name(props.course);
}

Expand Down

0 comments on commit eb999da

Please sign in to comment.