You've already forked laravel-connect
Fix
This commit is contained in:
@@ -60,10 +60,10 @@ class Connect
|
||||
];
|
||||
|
||||
if ($auth === true) {
|
||||
$config['Authorization'] = 'Bearer ' . $this->getAccessToken();
|
||||
$config['headers']['Authorization'] = 'Bearer ' . $this->getAccessToken();
|
||||
}
|
||||
elseif ($auth !== false) {
|
||||
$config['Authorization'] = 'Bearer ' . $auth;
|
||||
$config['headers']['Authorization'] = 'Bearer ' . $auth;
|
||||
}
|
||||
|
||||
if (!is_null($data)) {
|
||||
|
||||
Reference in New Issue
Block a user