fixing some tests
This commit is contained in:
@@ -188,6 +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)
|
||||
|
||||
Reference in New Issue
Block a user