don't us deprecated tcor api requests

This commit is contained in:
Jannik 2019-06-03 12:05:33 +02:00
parent 5e766ec126
commit 23195f94e0
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
1 changed files with 1 additions and 1 deletions

View File

@ -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