Removed sendgrid, use emailService for all emails. Updated env vars, updated scripts
This commit is contained in:
1 parent
1c3c7e115a
commit
12e23cb156
10 files changed
+83
-996
No files matched your search
+2
-2
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user