diff --git a/src/PostmarkWebhooksServiceProvider.php b/src/PostmarkWebhooksServiceProvider.php index 66c47ea..b5d804d 100644 --- a/src/PostmarkWebhooksServiceProvider.php +++ b/src/PostmarkWebhooksServiceProvider.php @@ -28,7 +28,8 @@ public function register() private function registerRoutes(): void { Route::group($this->routeConfiguration(), function () { - Route::post(config('postmark-webhooks.webhook_path'), ProcessPostmarkWebhookController::class); + Route::post(config('postmark-webhooks.webhook_path'), ProcessPostmarkWebhookController::class) + ->name('postmark-webhooks.process-webhook'); }); }