fixes issue with variables not working (#3859)

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2022-08-15 16:32:11 -06:00
1 parent 8c7579fede
commit 497d4902af
2 files changed
+8 -9

No files matched your search

@@ -81,7 +81,6 @@ const customTemplate = async (text: string, variables: VariablesType, locale: st
}
});
}
dynamicText = dynamicText.replace(`{${variable}}`, "");
});
const textHtml = `<body style="white-space: pre-wrap;">${dynamicText}</body>`;