diff --git a/services/web/scripts/remove_emails_with_commas.mjs b/services/web/scripts/remove_emails_with_commas.mjs index 29d78b129c..f6f107edac 100644 --- a/services/web/scripts/remove_emails_with_commas.mjs +++ b/services/web/scripts/remove_emails_with_commas.mjs @@ -82,7 +82,7 @@ async function consumeCsvFileAndUpdate() { $addToSet: { emails: { email: newEmail, - createdAt: Date.now(), + createdAt: new Date(), reversedHostname: 'moc.faelrevo', }, },