fixes issue with variables not working (#3859)
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
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>`;
|
||||
|
||||
Reference in new issue
Block a user