diff --git a/src/Appwrite/Auth/OAuth2/Bitly.php b/src/Appwrite/Auth/OAuth2/Bitly.php index fb1cb57e18..02a21dc29e 100644 --- a/src/Appwrite/Auth/OAuth2/Bitly.php +++ b/src/Appwrite/Auth/OAuth2/Bitly.php @@ -78,10 +78,10 @@ class Bitly extends OAuth2 ]) ); - $output = []; - \parse_str($response, $output); - $this->tokens = $output; - } + $output = []; + \parse_str($response, $output); + $this->tokens = $output; + } return $this->tokens; }