Skip to content

Commit

Permalink
Finish the library and add webhook handler
Browse files Browse the repository at this point in the history
  • Loading branch information
c-delouvencourt committed Oct 23, 2024
1 parent b90c09b commit a7814f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cldt/laravel-aircall",
"version": "1.1.2",
"version": "1.1.3",
"description": "API Wrapper for the Aircall API",
"keywords": [
"cldt",
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/AircallWebhooksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace CLDT\Aircall\Http\Controllers;

use CLDT\Aircall\AircallWebhookSignatureValidator;
use CLDT\Aircall\Jobs\ProcessAircallWebhookJob;
use Illuminate\Http\Request;

use Spatie\WebhookClient\Exceptions\InvalidConfig;
use Spatie\WebhookClient\Exceptions\InvalidWebhookSignature;
use Spatie\WebhookClient\WebhookConfig;
Expand All @@ -26,7 +26,7 @@ public function __invoke(Request $request)
'signature_validator' => AircallWebhookSignatureValidator::class,
'webhook_profile' => ProcessEverythingWebhookProfile::class,
'webhook_model' => config('aircall.webhook_model'),
'process_webhook_job' => config('aircall.webhook_jobs'),
'process_webhook_job' => ProcessAircallWebhookJob::class,
'store_headers' => [],
]);

Expand Down

0 comments on commit a7814f2

Please sign in to comment.