passing test_imports
This commit is contained in:
@@ -313,8 +313,8 @@ class StravaIntegration(SyncIntegration):
|
||||
def token_refresh(self, *args, **kwargs):
|
||||
return super(StravaIntegration, self).token_refresh(*args, **kwargs)
|
||||
|
||||
def set_strava_athlete_id():
|
||||
r = self.rower()
|
||||
def set_strava_athlete_id(self, *args, **kwargs):
|
||||
r = self.rower
|
||||
if (r.stravatoken == '') or (r.stravatoken is None): # pragma: no cover
|
||||
s = "Token doesn't exist. Need to authorize"
|
||||
return custom_exception_handler(401, s)
|
||||
|
||||
Reference in New Issue
Block a user