remove all logging noise
This commit is contained in:
@@ -8,15 +8,9 @@ const {
|
||||
async function processNotifications() {
|
||||
try {
|
||||
const marketAlerts = await allMarketAlerts(false, false);
|
||||
console.log(marketAlerts.length);
|
||||
await createMarketAlertEmailTemplate();
|
||||
if (marketAlerts.length > 0) {
|
||||
console.log(
|
||||
"NOTIFICATION SERVICE: Number of new alerts: " + marketAlerts.length
|
||||
);
|
||||
await sendBulkEmail(marketAlerts);
|
||||
} else {
|
||||
console.log("NOTIFICATION SERVICE: No new alerts");
|
||||
}
|
||||
|
||||
await db.MarketAlert.update(
|
||||
|
||||
Reference in New Issue
Block a user