diff --git a/routes/mails.js b/routes/mails.js index e9be4c1..4d3483f 100644 --- a/routes/mails.js +++ b/routes/mails.js @@ -8,7 +8,7 @@ const messages = require("../lib/messages"); // Helper function to extract mailing list name function extractMailingListName(mailingList) { - if (mailingList.includes('@')) { + if (mailingList.includes("@")) { return mailingList.split("@'"[0]; // Extracts the part before the '@' } return mailingList; // Returns the mailing list as is if it doesn't contain '@'