fix: injection not working from som/elie commit (#145)

This commit is contained in:
Lukas Zenick
2024-03-11 15:53:45 -05:00
committed by GitHub
parent 261d2f2e84
commit 591687eee8

View File

@@ -7,7 +7,7 @@ import { CourseMeeting, DAY_MAP } from './CourseMeeting';
* This represents the schedule for a course, which includes all the meeting times for the course, as well as helper functions for parsing, serializing, and deserializing the schedule * This represents the schedule for a course, which includes all the meeting times for the course, as well as helper functions for parsing, serializing, and deserializing the schedule
*/ */
export class CourseSchedule { export class CourseSchedule {
meetings: CourseMeeting[]; meetings: CourseMeeting[] = [];
constructor(courseSchedule?: Serialized<CourseSchedule>) { constructor(courseSchedule?: Serialized<CourseSchedule>) {
if (!courseSchedule) { if (!courseSchedule) {