Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhvictor4 committed Sep 20, 2023
1 parent 80a9aa4 commit b7a40d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class TimetableServiceImpl(
}

private suspend fun validateTimetableTitle(userId: String, year: Int, semester: Semester, title: String) {
if(timetableRepository.existsByUserIdAndYearAndSemesterAndTitle(userId, year, semester, title)) {
if (timetableRepository.existsByUserIdAndYearAndSemesterAndTitle(userId, year, semester, title)) {
throw DuplicateTimetableTitleException
}
}
Expand Down

0 comments on commit b7a40d6

Please sign in to comment.