We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ed5de commit ff21b13Copy full SHA for ff21b13
src/Client.php
@@ -481,8 +481,8 @@ protected function buildUrl($endpoint, $params)
481
*/
482
public function api($endpoint, array $params = [], $method = Method::GET)
483
{
484
- $headers = $this->getApiHeaders();
485
$options = [];
+ $headers = $this->getApiHeaders();
486
if ($this->isUsingTokenParam()) {
487
$params['oauth2_access_token'] = $this->accessToken->getToken();
488
} else {
0 commit comments