fix build

This commit is contained in:
KM Koushik
2025-07-28 00:01:43 +10:00
parent e6dd8673b4
commit 609e4d04eb
2 changed files with 2 additions and 1 deletions

View File

@@ -15,4 +15,5 @@ export const EMAIL_COLORS: Record<EmailStatus | "total", string> = {
REJECTED: "bg-[#d20f39] dark:bg-[#f38ba8]", REJECTED: "bg-[#d20f39] dark:bg-[#f38ba8]",
RENDERING_FAILURE: "bg-[#d20f39] dark:bg-[#f38ba8]", RENDERING_FAILURE: "bg-[#d20f39] dark:bg-[#f38ba8]",
CANCELLED: "bg-gray-200 dark:bg-gray-400", CANCELLED: "bg-gray-200 dark:bg-gray-400",
SUPPRESSED: "bg-gray-200 dark:bg-gray-400",
}; };

View File

@@ -554,7 +554,7 @@ export async function sendBulkEmails(
if (filteredEmailContents.length === 0) { if (filteredEmailContents.length === 0) {
// Return only suppressed emails if no valid emails to send // Return only suppressed emails if no valid emails to send
return suppressedEmails; return suppressedEmails.map((item) => item.email);
} }
// Group emails by domain to minimize domain validations // Group emails by domain to minimize domain validations