test: fix digest test

This commit is contained in:
Barış Soner Uşaklı
2023-05-11 19:01:28 -04:00
parent 4bfebc8123
commit aff6d20f9f
2 changed files with 9 additions and 1 deletions

View File

@@ -140,6 +140,7 @@ Digest.send = async function (data) {
batch: 100,
});
winston.info(`[user/jobs] Digest (${data.interval}) sending completed. ${emailsSent} emails sent.`);
return emailsSent;
};
Digest.getDeliveryTimes = async (start, stop) => {