Skip to content

Commit 588733d

Browse files
committed
Fix to exclude .preview
1 parent 4290f7b commit 588733d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SNUTT-2022/SNUTT/Services/LectureService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class FakeLectureService: LectureServiceProtocol {
270270
throw STError(.NO_NETWORK)
271271
}
272272
func fetchLectureReminderList() async throws { return }
273-
func getLectureReminderState(timetableId: String, lecture: Lecture) async throws -> LectureReminder { return .preview }
273+
func getLectureReminderState(timetableId: String, lecture: Lecture) async throws -> LectureReminder { throw STError(.SERVER_FAULT) }
274274
func changeLectureReminderState(lectureId: String, to option: ReminderOption) async throws {}
275275
func getCurrentOrNextSemesterPrimaryTable() -> TimetableMetadata? { nil }
276276
}

0 commit comments

Comments
 (0)