Added formated subject to bulk email
This commit is contained in:
@@ -16,7 +16,7 @@ async function processNotifications() {
|
||||
await sendBulkEmail(marketAlerts);
|
||||
} else {
|
||||
console.log("NOTIFICATION SERVICE: No new alerts");
|
||||
return;
|
||||
process.exit();
|
||||
}
|
||||
|
||||
await db.MarketAlert.update(
|
||||
@@ -26,6 +26,7 @@ async function processNotifications() {
|
||||
process.exit();
|
||||
} catch (e) {
|
||||
console.log("NOTIFICATION SERVICE: could not send notifications reason: ", e);
|
||||
process.exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user