mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-11 18:56:18 +09:00
Don't retry unless using refresh auth
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user