From cefe4754c7ad2b10852482af0e64f7f674ef3234 Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Wed, 5 Apr 2023 14:05:32 +0530 Subject: [PATCH] fix: add older variables to whitelist (#8095) --- packages/core/event.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/core/event.ts b/packages/core/event.ts index 1f782520c5..5f6173ebd8 100644 --- a/packages/core/event.ts +++ b/packages/core/event.ts @@ -85,6 +85,12 @@ export const validateCustomEventName = ( "{Organiser}", "{Scheduler}", "{Location}", + //allowed for fallback reasons + "{LOCATION}", + "{HOST/ATTENDEE}", + "{HOST}", + "{ATTENDEE}", + "{USER}", ]); const matches = value.match(/\{([^}]+)\}/g); if (matches?.length) {