From cedb2b72e93fd3efb4fecb75f361aafd33758405 Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:46:53 -0400 Subject: [PATCH] fix: add missing booking paid webhook trigger to dropdwon (#10237) Co-authored-by: CarinaWolli --- apps/web/public/static/locales/en/common.json | 1 + packages/features/webhooks/components/WebhookForm.tsx | 1 + packages/lib/date-fns/index.ts | 5 ++--- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 584d556264..868c108cf6 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -407,6 +407,7 @@ "booking_requested": "Booking Requested", "meeting_ended": "Meeting Ended", "form_submitted": "Form Submitted", + "booking_paid": "Booking Paid", "event_triggers": "Event Triggers", "subscriber_url": "Subscriber URL", "create_new_webhook": "Create a new webhook", diff --git a/packages/features/webhooks/components/WebhookForm.tsx b/packages/features/webhooks/components/WebhookForm.tsx index 580a8d21b9..50faa37690 100644 --- a/packages/features/webhooks/components/WebhookForm.tsx +++ b/packages/features/webhooks/components/WebhookForm.tsx @@ -35,6 +35,7 @@ const WEBHOOK_TRIGGER_EVENTS_GROUPED_BY_APP_V2: Record { try { @@ -46,7 +46,6 @@ export const isSupportedTimeZone = (timeZone: string) => { } }; - /** * Returns a localized and translated date or time, based on the native * Intl.DateTimeFormat available to JS. Undefined values mean the browser's