We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc89ed commit ce2c695Copy full SHA for ce2c695
1 file changed
src/components/Settings/Notifications/NotificationsWebhook/index.tsx
@@ -119,18 +119,7 @@ const NotificationsWebhook = () => {
119
intl.formatMessage(messages.validationWebhookUrl),
120
function (value) {
121
const { supportVariables } = this.parent;
122
-
123
- // allow variable syntax through
124
- if (
125
- supportVariables &&
126
- typeof value === 'string' &&
127
- value.includes('{{')
128
- ) {
129
- return true;
130
- }
131
132
- // otherwise fall back to the built‑in URL check
133
- return isValidURL(value);
+ return supportVariables || isValidURL(value);
134
}
135
),
136
0 commit comments