fix: Add validation for webhook endpoint selection
This commit is contained in:
parent
311c118834
commit
47f5a0de81
@ -219,6 +219,10 @@ function createGithubApp(webhook_endpoint, preview_deployment_permissions, admin
|
|||||||
uuid,
|
uuid,
|
||||||
html_url
|
html_url
|
||||||
} = @json($github_app);
|
} = @json($github_app);
|
||||||
|
if (!webhook_endpoint) {
|
||||||
|
alert('Please select a webhook endpoint.');
|
||||||
|
return;
|
||||||
|
}
|
||||||
let baseUrl = webhook_endpoint;
|
let baseUrl = webhook_endpoint;
|
||||||
const name = @js($name);
|
const name = @js($name);
|
||||||
const isDev = @js(config('app.env')) ===
|
const isDev = @js(config('app.env')) ===
|
||||||
|
Loading…
Reference in New Issue
Block a user