From 925d5c3521cb3cfb3a0d39e7404ec83cce78b6cd Mon Sep 17 00:00:00 2001 From: grauser Date: Thu, 15 Sep 2022 12:50:23 +0200 Subject: [PATCH] fix(oauth):correct nolio secret param name [publish binares] --- src/Cloud/OAuthDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cloud/OAuthDialog.cpp b/src/Cloud/OAuthDialog.cpp index 473a410d7..2c29ea64f 100644 --- a/src/Cloud/OAuthDialog.cpp +++ b/src/Cloud/OAuthDialog.cpp @@ -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) {