diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/webhooks')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx | 2 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx index 1d049149b..8150f3aec 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx @@ -54,7 +54,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { http_method: !state.http_method ? i18n.str`required` : !validMethod.includes(state.http_method) - ? i18n.str`should be one of "${validMethod.join(", ")}"` + ? i18n.str`should be one of '${validMethod.join(", ")}'` : undefined, url: !state.url ? i18n.str`required` : undefined, }; diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx index 4e3674dca..0401453db 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx @@ -50,7 +50,7 @@ export function UpdatePage({ webhook, onUpdate, onBack }: Props): VNode { http_method: !state.http_method ? i18n.str`required` : !validMethod.includes(state.http_method) - ? i18n.str`should be one of "${validMethod.join(", ")}"` + ? i18n.str`should be one of '${validMethod.join(", ")}'` : undefined, url: !state.url ? i18n.str`required` : undefined, }; |