Fix CacheController lookup #23

Merged
Seil0 merged 1 commits from fix/cache-controller into master 2022-01-14 18:46:25 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class CacheController {
} }
val key = "$courseName-$weekIndex" val key = "$courseName-$weekIndex"
return if (timetableList.contains(key)) { return if (timetableList.containsKey(key)) {
timetableList[key]!! timetableList[key]!!
} else { } else {
val timetableLink = courseList.courses[courseName] val timetableLink = courseList.courses[courseName]