Merge pull request #9393 from supabase/chore/strip-spaces-from-webhook-url

Strip spaces from webhook url input
This commit is contained in:
Terry Sutton
2022-10-19 11:14:36 -02:30
committed by GitHub

View File

@@ -61,7 +61,7 @@ class CreateHookFormState {
enabled_mode: this.enabledMode.value,
events: this.events.value,
function_args: [
this.serviceUrl.value,
this.serviceUrl.value.replaceAll(' ', ''),
this.serviceMethod.value,
JSON.stringify(mapValues(keyBy(this.serviceHeaders.value, 'name'), 'value')),
formatArguments(this.serviceParams.value),