don't us deprecated tcor api requests
This commit is contained in:
parent
5e766ec126
commit
23195f94e0
|
@ -80,7 +80,7 @@ class TCoRAPIController(cont: Context) {
|
|||
* get the json object from tcor api and write it as file (cache)
|
||||
*/
|
||||
fun getCoursesList() = doAsync {
|
||||
val url = URL("https://tcor.mosad.xyz/courses")
|
||||
val url = URL("https://tcor.mosad.xyz/courseList")
|
||||
val file = File(context.filesDir, "courses.json")
|
||||
|
||||
// read data from the API
|
||||
|
|
Loading…
Reference in New Issue