Private
Public Access
1
0

Merge branch 'feature/stravaapi' into develop

This commit is contained in:
2024-12-14 15:14:24 +01:00
16 changed files with 708 additions and 44 deletions

View File

@@ -144,8 +144,12 @@ def do_sync(w, options, quick=False):
w.uploadedtostrava = options['stravaid']
# upload_to_strava = False
do_strava_export = False
w.workoutsource = 'strava'
w.privacy = 'hidden'
w.save()
record = create_or_update_syncrecord(w.user, w, stravaid=options['stravaid'])
# strava, we shall not sync to other sites -> return
return 1
except KeyError:
pass