diff --git a/server/src/jobs/brevoContacts/sendContactsToBrevo.ts b/server/src/jobs/brevoContacts/sendContactsToBrevo.ts index bacc60dfe..723ea17bd 100644 --- a/server/src/jobs/brevoContacts/sendContactsToBrevo.ts +++ b/server/src/jobs/brevoContacts/sendContactsToBrevo.ts @@ -115,7 +115,7 @@ const postToBrevo = async (contacts: IBrevoContact[]) => { }) requestContactImport.fileBody = fileBody - requestContactImport.listIds = [config.smtp.brevoContactListId] + requestContactImport.listIds = [parseInt(config.smtp.brevoContactListId!)] requestContactImport.updateExistingContacts = true requestContactImport.emptyContactsAttributes = true