fix: Add validation for webhook endpoint selection
This commit is contained in:
@@ -219,6 +219,10 @@
|
|||||||
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')) ===
|
||||||
|
Reference in New Issue
Block a user