Merge pull request 'Fix CacheController lookup' (#23) from fix/cache-controller into master
continuous-integration/woodpecker the build was successful
Details
continuous-integration/woodpecker the build was successful
Details
Reviewed-on: #23
This commit is contained in:
commit
f7c8958d20
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue