Skip to content

Commit

Permalink
Fix a bug where empty webhook url causes an issue (Skyvern-AI#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Nov 28, 2024
1 parent c4338e9 commit 28250e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function RunWorkflowForm({
name="webhookCallbackUrl"
rules={{
validate: (value) => {
if (value === null) {
if (value === null || value === "") {
return;
}
if (typeof value !== "string") {
Expand Down

0 comments on commit 28250e1

Please sign in to comment.