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 d51c0f5 commit 54acf69Copy full SHA for 54acf69
composer.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cldt/laravel-aircall",
3
- "version": "1.0.7",
+ "version": "1.0.8",
4
"description": "API Wrapper for the Aircall API",
5
"keywords": [
6
"cldt",
src/Aircall.php
@@ -25,7 +25,7 @@ public function __construct()
25
26
$this->client = Http::withHeaders([
27
'Accept' => 'application/json',
28
- 'Authorization' => 'Bearer ' . base64_decode(config('aircall.api_id') . ':' . config('aircall.api_token')),
+ 'Authorization' => 'Bearer ' . base64_encode(config('aircall.api_id') . ':' . config('aircall.api_token')),
29
'Content-Type' => 'application/json',
30
])->baseUrl(config('aircall.endpoint'));
31
}
0 commit comments