From 77ed947701d40f3e2d48fece81a4fab7156e1123 Mon Sep 17 00:00:00 2001 From: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com> Date: Fri, 17 Feb 2023 13:08:22 +0530 Subject: [PATCH] console: update the cron and scheduled events webhook placeholder PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8023 GitOrigin-RevId: da1f29dc426bf7f77a8c05be196cea8586a5f4ba --- .../src/lib/features/AdhocEvents/components/Form/Form.tsx | 2 +- .../src/lib/features/CronTriggers/components/Form/Form.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/libs/console/legacy-ce/src/lib/features/AdhocEvents/components/Form/Form.tsx b/frontend/libs/console/legacy-ce/src/lib/features/AdhocEvents/components/Form/Form.tsx index ef0a9f8bbf1..a844d0b660b 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/AdhocEvents/components/Form/Form.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/AdhocEvents/components/Form/Form.tsx @@ -58,7 +58,7 @@ const OneOffScheduledEventForm = (props: Props) => { } name="webhook" label="Webhook URL" - placeholder="https://httpbin.com/post or {{MY_WEBHOOK_URL}}/handler" + placeholder="http://httpbin.org/post or {{MY_WEBHOOK_URL}}/handler" tooltip="Environment variables and secrets are available using the {{VARIABLE}} tag. Environment variable templating is available for this field. Example: https://{{ENV_VAR}}/endpoint_url" description="Note: Provide an URL or use an env var to template the handler URL if you have different URLs for multiple environments." /> diff --git a/frontend/libs/console/legacy-ce/src/lib/features/CronTriggers/components/Form/Form.tsx b/frontend/libs/console/legacy-ce/src/lib/features/CronTriggers/components/Form/Form.tsx index 9f1e5b11944..83446ecf7ae 100644 --- a/frontend/libs/console/legacy-ce/src/lib/features/CronTriggers/components/Form/Form.tsx +++ b/frontend/libs/console/legacy-ce/src/lib/features/CronTriggers/components/Form/Form.tsx @@ -70,7 +70,7 @@ const FormContent = (props: FormContentProps) => { } name="webhook" label="Webhook URL" - placeholder="https://httpbin.com/post or {{MY_WEBHOOK_URL}}/handler" + placeholder="http://httpbin.org/post or {{MY_WEBHOOK_URL}}/handler" tooltip="Environment variables and secrets are available using the {{VARIABLE}} tag. Environment variable templating is available for this field. Example: https://{{ENV_VAR}}/endpoint_url" description="Note: Provide an URL or use an env var to template the handler URL if you have different URLs for multiple environments." />