Skip to content

Scheduling infrastructure for absolutely everyone.

fix dynamic location variable (#5345)

Carina Wollendorferb629333eb800
diff --git a/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts b/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts
index df8adebac4d..a570f908a25 100644
--- a/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts
+++ b/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts
@@ -20,7 +20,7 @@ const customTemplate = async (text: string, variables: VariablesType, locale: st
let locationString = variables.location || "";
if (text.includes("{LOCATION}")) {
- locationString = guessEventLocationType(locationString)?.label || "";
+ locationString = guessEventLocationType(locationString)?.label || locationString;
}
let dynamicText = text