fix(oauth):correct nolio secret param name

[publish binares]
This commit is contained in:
grauser
2022-09-15 12:50:23 +02:00
parent 0185080f3f
commit 925d5c3521

View File

@@ -261,8 +261,8 @@ OAuthDialog::urlChanged(const QUrl &url)
urlstr = QString("https://www.nolio.io/api/token/?");
params.addQueryItem("grant_type", "authorization_code");
params.addQueryItem("redirect_uri", "http://www.goldencheetah.org/");
#if (defined GC_NOLIO_CLIENT_ID) && (defined GC_NOLIO_CLIENT_SECRET)
authheader = QString("%1:%2").arg(GC_NOLIO_CLIENT_ID).arg(GC_NOLIO_CLIENT_SECRET);
#if (defined GC_NOLIO_CLIENT_ID) && (defined GC_NOLIO_SECRET)
authheader = QString("%1:%2").arg(GC_NOLIO_CLIENT_ID).arg(GC_NOLIO_SECRET);
#endif
} else if (site == CYCLING_ANALYTICS) {