recovery form, fix email service

This commit is contained in:
Alex Holliday committed 2026-02-06 22:14:42 +00:00
1 parent 16e8035299
commit 6a0f3426b3
5 files changed
+66 -7

No files matched your search

@@ -29,18 +29,18 @@ class EmailService {
this.mjml2html = mjml2html;
this.nodemailer = nodemailer;
this.logger = logger;
this.init();
this.templateLookup = {};
this.loadTemplate = () => {
return () => {};
};
this.init();
}
get serviceName() {
return EmailService.SERVICE_NAME;
}
init = async () => {
init = () => {
this.loadTemplate = (templateName) => {
try {
const templatePath = this.path.join(__dirname, `../../templates/${templateName}.mjml`);