diff --git a/apps/dashboard/jobs/utils/transaction-notifications.tsx b/apps/dashboard/jobs/utils/transaction-notifications.tsx index 0c899a6959..55caec55b0 100644 --- a/apps/dashboard/jobs/utils/transaction-notifications.tsx +++ b/apps/dashboard/jobs/utils/transaction-notifications.tsx @@ -118,8 +118,11 @@ export async function handleTransactionEmails( try { await triggerBulk(validEmailPromises); + logger.info("Transaction emails sent", { + count: validEmailPromises.length, + }); } catch (error) { - await logger.error("Transaction emails", { error }); + logger.error("Transaction emails", { error }); } return validEmailPromises; diff --git a/bun.lockb b/bun.lockb index 0348d577ff..7afbe79e14 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/email/emails/transactions.tsx b/packages/email/emails/transactions.tsx index f87f34a25b..4b1bce4f98 100644 --- a/packages/email/emails/transactions.tsx +++ b/packages/email/emails/transactions.tsx @@ -25,13 +25,13 @@ type Transaction = { name: string; currency: string; category?: string; - teamName: string; }; interface Props { fullName: string; transactions: Transaction[]; locale: string; + teamName: string; } const defaultTransactions = [ diff --git a/packages/email/package.json b/packages/email/package.json index b35a8d6ceb..89ae982a44 100644 --- a/packages/email/package.json +++ b/packages/email/package.json @@ -15,11 +15,11 @@ "dependencies": { "@midday/ui": "workspace:*", "@midday/utils": "workspace:*", - "@react-email/components": "0.0.31", - "@react-email/render": "0.0.10", - "@react-email/tailwind": "1.0.4", + "@react-email/components": "0.0.25", + "@react-email/render": "^1.0.1", + "@react-email/tailwind": "0.1.0", "date-fns": "^4.1.0", - "react-email": "3.0.4", + "react-email": "3.0.1", "responsive-react-email": "^0.0.5" }, "devDependencies": {