fix
This commit is contained in:
@@ -63,7 +63,7 @@ class C2Integration(SyncIntegration):
|
|||||||
'client_id': C2_CLIENT_ID,
|
'client_id': C2_CLIENT_ID,
|
||||||
'client_secret': C2_CLIENT_SECRET,
|
'client_secret': C2_CLIENT_SECRET,
|
||||||
'redirect_uri': C2_REDIRECT_URI,
|
'redirect_uri': C2_REDIRECT_URI,
|
||||||
'autorization_uri': "https://log.concept2.com/oauth/authorize",
|
'authorization_uri': "https://log.concept2.com/oauth/authorize",
|
||||||
'content_type': 'application/x-www-form-urlencoded',
|
'content_type': 'application/x-www-form-urlencoded',
|
||||||
'tokenname': 'c2token',
|
'tokenname': 'c2token',
|
||||||
'refreshtokenname': 'c2refreshtoken',
|
'refreshtokenname': 'c2refreshtoken',
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class NKIntegration(SyncIntegration):
|
|||||||
'client_id': NK_CLIENT_ID,
|
'client_id': NK_CLIENT_ID,
|
||||||
'client_secret': NK_CLIENT_SECRET,
|
'client_secret': NK_CLIENT_SECRET,
|
||||||
'redirect_uri': NK_REDIRECT_URI,
|
'redirect_uri': NK_REDIRECT_URI,
|
||||||
'autorization_uri': NK_OAUTH_LOCATION+"/oauth/authorize",
|
'authorization_uri': NK_OAUTH_LOCATION+"/oauth/authorize",
|
||||||
'content_type': 'application/json',
|
'content_type': 'application/json',
|
||||||
'tokenname': 'nktoken',
|
'tokenname': 'nktoken',
|
||||||
'refreshtokenname': 'nkrefreshtoken',
|
'refreshtokenname': 'nkrefreshtoken',
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class RP3Integration(SyncIntegration):
|
|||||||
'client_id': RP3_CLIENT_ID,
|
'client_id': RP3_CLIENT_ID,
|
||||||
'client_secret': RP3_CLIENT_SECRET,
|
'client_secret': RP3_CLIENT_SECRET,
|
||||||
'redirect_uri': RP3_REDIRECT_URI,
|
'redirect_uri': RP3_REDIRECT_URI,
|
||||||
'autorization_uri': "https://rp3rowing-app.com/oauth/authorize?",
|
'authorization_uri': "https://rp3rowing-app.com/oauth/authorize?",
|
||||||
'content_type': 'application/x-www-form-urlencoded',
|
'content_type': 'application/x-www-form-urlencoded',
|
||||||
# 'content_type': 'application/json',
|
# 'content_type': 'application/json',
|
||||||
'tokenname': 'rp3token',
|
'tokenname': 'rp3token',
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ class StravaIntegration(SyncIntegration):
|
|||||||
'client_id': STRAVA_CLIENT_ID,
|
'client_id': STRAVA_CLIENT_ID,
|
||||||
'client_secret': STRAVA_CLIENT_SECRET,
|
'client_secret': STRAVA_CLIENT_SECRET,
|
||||||
'redirect_uri': STRAVA_REDIRECT_URI,
|
'redirect_uri': STRAVA_REDIRECT_URI,
|
||||||
'autorization_uri': "https://www.strava.com/oauth/authorize",
|
'authorization_uri': "https://www.strava.com/oauth/authorize",
|
||||||
'content_type': 'application/json',
|
'content_type': 'application/json',
|
||||||
'tokenname': 'stravatoken',
|
'tokenname': 'stravatoken',
|
||||||
'refreshtokenname': 'stravarefreshtoken',
|
'refreshtokenname': 'stravarefreshtoken',
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ class TPIntegration(SyncIntegration):
|
|||||||
'client_id': TP_CLIENT_ID,
|
'client_id': TP_CLIENT_ID,
|
||||||
'client_secret': TP_CLIENT_SECRET,
|
'client_secret': TP_CLIENT_SECRET,
|
||||||
'redirect_uri': TP_REDIRECT_URI,
|
'redirect_uri': TP_REDIRECT_URI,
|
||||||
'autorization_uri': "https://oauth.trainingpeaks.com/oauth/authorize?",
|
'authorization_uri': "https://oauth.trainingpeaks.com/oauth/authorize?",
|
||||||
'content_type': 'application/x-www-form-urlencoded',
|
'content_type': 'application/x-www-form-urlencoded',
|
||||||
'tokenname': 'tptoken',
|
'tokenname': 'tptoken',
|
||||||
'refreshtokenname': 'tprefreshtoken',
|
'refreshtokenname': 'tprefreshtoken',
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user