Merge pull request #265 from copenhagentruckwash/fix-unauthenticated-bird-voice-webhook

Reinstate authorization check for Bird inbound voice webhook
This commit is contained in:
Jeppe B
2026-06-02 00:33:43 +02:00
committed by GitHub
@@ -38,6 +38,7 @@ class birdVoiceWebhooksRoute
$this->post('/bird/voice/calls/webhook/inbound', function (): void {
global $response;
self::requirePermission('modules_bird_voice_call_webhooks_trigger');
$client = $this->resolveBirdClient();
$payload = $this->readInboundWebhookPayload();