Formatting

This commit is contained in:
Justin Foell
2019-11-01 14:35:10 -05:00
parent 065377620e
commit 0ea6763729
+1 -1
View File
@@ -109,7 +109,7 @@ class WPStrava_API {
// Try *one* real-time token refresh if 404.
if ( $retry && 404 == $response['response']['code'] ) {
$retry = false;
$auth = WPStrava::get_instance()->auth;
$auth = WPStrava::get_instance()->auth;
if ( $auth instanceof WPStrava_AuthRefresh ) {
$auth->auth_refresh();
return $this->get( $uri, $args );