fix build
This commit is contained in:
@@ -15,4 +15,5 @@ export const EMAIL_COLORS: Record<EmailStatus | "total", string> = {
|
||||
REJECTED: "bg-[#d20f39] dark:bg-[#f38ba8]",
|
||||
RENDERING_FAILURE: "bg-[#d20f39] dark:bg-[#f38ba8]",
|
||||
CANCELLED: "bg-gray-200 dark:bg-gray-400",
|
||||
SUPPRESSED: "bg-gray-200 dark:bg-gray-400",
|
||||
};
|
||||
|
@@ -554,7 +554,7 @@ export async function sendBulkEmails(
|
||||
|
||||
if (filteredEmailContents.length === 0) {
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user