adding async option to NK import
This commit is contained in:
@@ -902,7 +902,7 @@ def make_authorization_url(request):
|
||||
return HttpResponseRedirect(url)
|
||||
|
||||
# Get workout from C2 ID
|
||||
def get_workout(user,c2id):
|
||||
def get_workout(user,c2id,do_async=False):
|
||||
r = Rower.objects.get(user=user)
|
||||
if (r.c2token == '') or (r.c2token is None):
|
||||
s = "Token doesn't exist. Need to authorize"
|
||||
|
||||
Reference in New Issue
Block a user