From 591687eee8731b3649a5f8c1357a416eb2992a93 Mon Sep 17 00:00:00 2001 From: Lukas Zenick Date: Mon, 11 Mar 2024 15:53:45 -0500 Subject: [PATCH] fix: injection not working from som/elie commit (#145) --- src/shared/types/CourseSchedule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/types/CourseSchedule.ts b/src/shared/types/CourseSchedule.ts index 1b3c1afb..098c8fdd 100644 --- a/src/shared/types/CourseSchedule.ts +++ b/src/shared/types/CourseSchedule.ts @@ -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 */ export class CourseSchedule { - meetings: CourseMeeting[]; + meetings: CourseMeeting[] = []; constructor(courseSchedule?: Serialized) { if (!courseSchedule) {