Skip to content

Commit

Permalink
[hotfix] course_title 빈 스트링 가능하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Hank-Choi committed Aug 28, 2023
1 parent 4bc2f80 commit 91a7c3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/timetable/TimetableLectureService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export async function partialModifyUserLecture(userId: string, tableId: string,
throw new TimetableNotFoundError();
}

if (!lecture.course_title) throw new InvalidLectureUpdateRequestError(lecture);

if (lecture.course_number || lecture.lecture_number) {
throw new InvalidLectureUpdateRequestError(lecture);
}
Expand Down

0 comments on commit 91a7c3b

Please sign in to comment.