putting dosmooth user setting to use
This commit is contained in:
@@ -188,7 +188,7 @@ def set_strava_athlete_id(user):
|
||||
# Get list of workouts available on Strava
|
||||
def get_strava_workout_list(user,limit_n=0):
|
||||
r = Rower.objects.get(user=user)
|
||||
|
||||
|
||||
if (r.stravatoken == '') or (r.stravatoken is None):
|
||||
s = "Token doesn't exist. Need to authorize"
|
||||
return custom_exception_handler(401,s)
|
||||
@@ -725,6 +725,7 @@ def add_workout_from_data(user,importid,data,strokedata,
|
||||
|
||||
id,message = dataprep.save_workout_database(
|
||||
csvfilename,r,
|
||||
dosmooth=r.dosmooth,
|
||||
workouttype=workouttype,
|
||||
title=title,notes=comments,
|
||||
workoutsource=workoutsource,
|
||||
|
||||
Reference in New Issue
Block a user