Private
Public Access
1
0

adding async option to NK import

This commit is contained in:
Sander Roosendaal
2021-04-19 08:41:48 +02:00
parent 2deb4fcbe3
commit 0c13f798de
9 changed files with 42 additions and 12 deletions

View File

@@ -92,7 +92,7 @@ def get_runkeeper_workout_list(user):
return s
# Get workout summary data by Runkeeper ID
def get_workout(user,runkeeperid):
def get_workout(user,runkeeperid,do_async=False):
r = Rower.objects.get(user=user)
if (r.runkeepertoken == '') or (r.runkeepertoken is None):
return custom_exception_handler(401,s)