Skip to content

fix(webapp): allow clearing webhook urls in settings#5800

Merged
hassan254-prog merged 1 commit into
masterfrom
wari/fix-webhook-url-validation
Apr 8, 2026
Merged

fix(webapp): allow clearing webhook urls in settings#5800
hassan254-prog merged 1 commit into
masterfrom
wari/fix-webhook-url-validation

Conversation

@hassan254-prog
Copy link
Copy Markdown
Contributor

@hassan254-prog hassan254-prog commented Apr 7, 2026

Describe the problem and your solution

  • allow clearing webhook urls in settings

Allow Empty Webhook URL Values in Webapp Settings Validation

This PR updates webhook URL validation in the web app so users can clear primary and secondary webhook URL fields in environment settings. Previously, validateUrl always required a valid http/https URL, which blocked saving empty values.

The shared validateUrl helper now accepts an optional allowEmpty flag and returns valid when the input is an empty string and that flag is enabled. Webhooks settings now call validateUrl(value, true) for both URL inputs, aligning behavior with the PR intent to allow clearing saved webhook URLs.


This summary was automatically generated by @propel-code-bot

@hassan254-prog hassan254-prog self-assigned this Apr 7, 2026
Copy link
Copy Markdown
Contributor

@propel-code-bot propel-code-bot Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues were found; the webhook URL clearing update appears safe and complete.

Status: No Issues Found | Risk: Low

Review Details

📁 2 files reviewed | 💬 0 comments

Instruction Files
└── .claude/
    ├── agents/
    │   └── nango-docs-migrator.md
    └── skills

@hassan254-prog hassan254-prog requested a review from a team April 7, 2026 11:57
@linear
Copy link
Copy Markdown

linear Bot commented Apr 7, 2026

@hassan254-prog hassan254-prog added this pull request to the merge queue Apr 8, 2026
Merged via the queue into master with commit d2bc8fb Apr 8, 2026
25 checks passed
@hassan254-prog hassan254-prog deleted the wari/fix-webhook-url-validation branch April 8, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants