Closed kimmoal closed 6 years ago
Make API endpoint URL a setting in TmcClient, for example: API_BASEURL = "https://tmc.mooc.fi/api/" ... QUrl url(QString(API_BASEURL + "v8/core/exercises/%1/download").arg(ex->getId()));
API_BASEURL = "https://tmc.mooc.fi/api/"
...
QUrl url(QString(API_BASEURL + "v8/core/exercises/%1/download").arg(ex->getId()));
Fixed in QSettings branch
Make API endpoint URL a setting in TmcClient, for example:
API_BASEURL = "https://tmc.mooc.fi/api/"
...
QUrl url(QString(API_BASEURL + "v8/core/exercises/%1/download").arg(ex->getId()));