modif template log to logstribe folder

This commit is contained in:
philc 2025-03-06 10:30:20 +01:00
parent b1e925a5d8
commit 731d129639

View File

@ -462,7 +462,7 @@ Notifications.sendmail = async (data, tribe) => {
data.subject
);
*/
fs.outputFile(`../${tribe}/template/${data.templatename}_${data.lg}.html`, data.html);
fs.outputFile(`../${tribe}/logs/template/${data.templatename}_${data.lg}.html`, data.html);
try {
res = await transporter.sendMail(data);