Removed sendgrid, use emailService for all emails. Updated env vars, updated scripts

This commit is contained in:
Alex Holliday committed 2024-07-19 15:41:06 -07:00
1 parent 1c3c7e115a
commit 12e23cb156
10 files changed
+83 -996

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ const startApp = async () => {
app.use((req, res, next) => {
req.db = db;
req.jobQueue = jobQueue;
req.emailSerivce = emailSerivce;
req.emailService = emailService;
next();
});
@@ -109,7 +109,7 @@ const startApp = async () => {
// Create services
await connectDbAndRunServer(app, db);
const jobQueue = await JobQueue.createJobQueue(db);
const emailSerivce = new EmailService();
const emailService = new EmailService();
const cleanup = async () => {
console.log("Shutting down gracefully");