Browse Source

don't us deprecated tcor api requests

pull/31/head
Jannik 3 years ago
parent
commit
23195f94e0
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
  1. 2
      app/src/main/java/org/mosad/seil0/projectlaogai/controller/TCoRAPIController.kt

2
app/src/main/java/org/mosad/seil0/projectlaogai/controller/TCoRAPIController.kt

@ -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…
Cancel
Save

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close