chore: Email + mailer refactor (#3342)

* Huge email refactor

* fix: One rename too many

* comments
This commit is contained in:
Tom Moor
2022-04-07 16:50:04 -07:00
committed by GitHub
parent 15375bf199
commit 5c24f9e1d5
39 changed files with 879 additions and 870 deletions

View File

@@ -9,7 +9,6 @@ import mount from "koa-mount";
import enforceHttps from "koa-sslify";
import env from "@server/env";
import Logger from "@server/logging/logger";
import emails from "../emails";
import routes from "../routes";
import api from "../routes/api";
import auth from "../routes/auth";
@@ -92,7 +91,6 @@ export default function init(app: Koa = new Koa()): Koa {
})
)
);
app.use(mount("/emails", emails));
}
app.use(mount("/auth", auth));