There was an error while loading. Please reload this page.
1 parent 6ae5302 commit d5e1092Copy full SHA for d5e1092
1 file changed
apps/backend/routes/internal/processScheduledAuditEmails.ts
@@ -67,7 +67,7 @@ export const processScheduledAuditEmails = async () => {
67
// Ignore stale lastSent dates from before emails were enabled in prod
68
const emailEnabledDate = DateTime.fromISO("2026-02-19T00:00:00.000Z");
69
const rawLastSent = email.lastSent ? DateTime.fromISO(email.lastSent) : emailEnabledDate;
70
- console.log(rawLastSent);
+ //console.log(rawLastSent);
71
const lastSent = (rawLastSent < emailEnabledDate) ? emailEnabledDate : rawLastSent;
72
let intervalDays = null;
73
switch (email.frequency.toLowerCase()) {
0 commit comments