Don't retry unless using refresh auth

This commit is contained in:
Justin Foell
2019-09-21 21:43:52 -05:00
parent 9d8e071f96
commit 7621c5ca65
+1 -1
View File
@@ -112,8 +112,8 @@ class WPStrava_API {
$auth = WPStrava::get_instance()->auth;
if ( $auth instanceof WPStrava_AuthRefresh ) {
$auth->auth_refresh();
return $this->get( $uri, $args );
}
return $this->get( $uri, $args );
} else {
$retry = true;
}