Skip to content

Commit a7814f2

Browse files
Finish the library and add webhook handler
1 parent b90c09b commit a7814f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cldt/laravel-aircall",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "API Wrapper for the Aircall API",
55
"keywords": [
66
"cldt",

src/Http/Controllers/AircallWebhooksController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace CLDT\Aircall\Http\Controllers;
44

55
use CLDT\Aircall\AircallWebhookSignatureValidator;
6+
use CLDT\Aircall\Jobs\ProcessAircallWebhookJob;
67
use Illuminate\Http\Request;
7-
88
use Spatie\WebhookClient\Exceptions\InvalidConfig;
99
use Spatie\WebhookClient\Exceptions\InvalidWebhookSignature;
1010
use Spatie\WebhookClient\WebhookConfig;
@@ -26,7 +26,7 @@ public function __invoke(Request $request)
2626
'signature_validator' => AircallWebhookSignatureValidator::class,
2727
'webhook_profile' => ProcessEverythingWebhookProfile::class,
2828
'webhook_model' => config('aircall.webhook_model'),
29-
'process_webhook_job' => config('aircall.webhook_jobs'),
29+
'process_webhook_job' => ProcessAircallWebhookJob::class,
3030
'store_headers' => [],
3131
]);
3232

0 commit comments

Comments
 (0)