fix: Add validation for webhook endpoint selection

This commit is contained in:
Andras Bacsai 2024-07-05 13:35:57 +02:00
parent 311c118834
commit 47f5a0de81

View File

@ -219,6 +219,10 @@ function createGithubApp(webhook_endpoint, preview_deployment_permissions, admin
uuid,
html_url
} = @json($github_app);
if (!webhook_endpoint) {
alert('Please select a webhook endpoint.');
return;
}
let baseUrl = webhook_endpoint;
const name = @js($name);
const isDev = @js(config('app.env')) ===