Fix CacheController lookup
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
f49e600613
commit
006e962bf1
@ -88,7 +88,7 @@ class CacheController {
|
||||
}
|
||||
|
||||
val key = "$courseName-$weekIndex"
|
||||
return if (timetableList.contains(key)) {
|
||||
return if (timetableList.containsKey(key)) {
|
||||
timetableList[key]!!
|
||||
} else {
|
||||
val timetableLink = courseList.courses[courseName]
|
||||
|
Loading…
Reference in New Issue
Block a user