fix: add older variables to whitelist (#8095)
parent
d7aa3c7163
commit
cefe4754c7
|
@ -85,6 +85,12 @@ export const validateCustomEventName = (
|
||||||
"{Organiser}",
|
"{Organiser}",
|
||||||
"{Scheduler}",
|
"{Scheduler}",
|
||||||
"{Location}",
|
"{Location}",
|
||||||
|
//allowed for fallback reasons
|
||||||
|
"{LOCATION}",
|
||||||
|
"{HOST/ATTENDEE}",
|
||||||
|
"{HOST}",
|
||||||
|
"{ATTENDEE}",
|
||||||
|
"{USER}",
|
||||||
]);
|
]);
|
||||||
const matches = value.match(/\{([^}]+)\}/g);
|
const matches = value.match(/\{([^}]+)\}/g);
|
||||||
if (matches?.length) {
|
if (matches?.length) {
|
||||||
|
|
Loading…
Reference in New Issue