fix: add older variables to whitelist (#8095)

This commit is contained in:
Nafees Nazik authored and GitHub committed 2023-04-05 10:35:32 +02:00
1 parent d7aa3c7163
commit cefe4754c7
1 file changed
+6
+6
View File
@@ -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) {