mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Remove superfluous series_type parameter
Strava API docs indicate this parameter is only relevant when also sending the resolution parameter In any case, parameter need to be sent as POST data, not in the URL This was mangling the temp series name. With this commit, Strava requests will also include the temp series
This commit is contained in:
@@ -437,15 +437,7 @@ Strava::addSamples(RideFile* ret, QString remoteid)
|
||||
QString urlstr = QString("https://www.strava.com/api/v3/activities/%1/streams/%2")
|
||||
.arg(remoteid).arg(streamsList);
|
||||
|
||||
#if QT_VERSION > 0x050000
|
||||
QUrlQuery params;
|
||||
#else
|
||||
QUrl params;
|
||||
#endif
|
||||
|
||||
params.addQueryItem("series_type", "time");
|
||||
|
||||
QUrl url = QUrl( urlstr + params.toString() );
|
||||
QUrl url = QUrl( urlstr );
|
||||
printd("url:%s\n", url.url().toStdString().c_str());
|
||||
|
||||
// request using the bearer token
|
||||
|
||||
Reference in New Issue
Block a user