Only add timetable to cache on success
This commit is contained in:
		| @ -106,7 +106,7 @@ class CacheController { | ||||
|                         weekNumberYear ?: 0, | ||||
|                         timetableLink | ||||
|                     ), timetable ?: TimetableWeek() | ||||
|                 ).also { timetableList[key] = it } | ||||
|                 ).also { if (timetable != null) timetableList[key] = it } | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user