diff --git a/apps/website/package.json b/apps/website/package.json index 18a941fcbf..adbe141958 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -15,7 +15,7 @@ "@midday/location": "workspace:*", "@midday/ui": "workspace:*", "@vercel/analytics": "^1.1.1", - "next": "14.0.2", + "next": "14.0.3", "next-international": "^1.1.4", "next-themes": "^0.2.1", "react": "18.2.0", diff --git a/bun.lockb b/bun.lockb index 100d67585c..9e7fb3c172 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/email/package.json b/packages/email/package.json index 93b6a100ae..cde95bf609 100644 --- a/packages/email/package.json +++ b/packages/email/package.json @@ -19,5 +19,8 @@ }, "devDependencies": { "typescript": "^5.3.2" + }, + "overrides": { + "@react-email/render": "0.0.9" } } \ No newline at end of file diff --git a/packages/jobs/src/transactions/notification.ts b/packages/jobs/src/transactions/notification.ts index 75e52597a8..72a92b8fe6 100644 --- a/packages/jobs/src/transactions/notification.ts +++ b/packages/jobs/src/transactions/notification.ts @@ -66,10 +66,10 @@ client.defineJob({ ); if (notificationEvents?.length) { + triggerBulk(notificationEvents.flat()); await io.logger.log( `Sending notifications: ${notificationEvents.length}` ); - triggerBulk(notificationEvents.flat()); } const emailEvents = await Promise.all( @@ -108,8 +108,9 @@ client.defineJob({ ); if (emailEvents?.length) { - await io.logger.log(`Sending emails: ${emailEvents.length}`); triggerBulk(emailEvents); + await io.logger.log(`Sending emails: ${emailEvents.length}`); + await io.logger.log(`Emails: ${JSON.stringify(emailEvents, null, 2)}`); } }, });