This commit is contained in:
Donald Zou
2025-09-17 16:35:57 +08:00
parent 3706b91b26
commit 8ee16b4173
2 changed files with 4 additions and 1 deletions

View File

@@ -1463,7 +1463,6 @@ def API_Email_PreviewBody():
try:
template = Template(body)
download = p.downloadPeer()
# body = template.render(peer=p.toJson(), configurationFile=download)
return ResponseObject(data={
"Body": Template(body).render(peer=p.toJson(), configurationFile=download),
"Subject": Template(subject).render(peer=p.toJson(), configurationFile=download)