Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

ts-ignore old cron route

Steven Teyb0031408e635
diff --git a/apps/web/app/(ee)/api/cron/year-in-review/route.ts b/apps/web/app/(ee)/api/cron/year-in-review/route.ts
index 1e44b2f028..9793df836d 100644
--- a/apps/web/app/(ee)/api/cron/year-in-review/route.ts
+++ b/apps/web/app/(ee)/api/cron/year-in-review/route.ts
@@ -104,6 +104,7 @@ export async function POST() {
console.log(
`πŸ“¨ Recipients:`,
+ // @ts-ignore
batch.map((b) => b.email.to),
);
@@ -111,7 +112,10 @@ export async function POST() {
continue;
}
- const { data, error } = await sendBatchEmail(batch.map((b) => b.email));
+ const { data, error } = await sendBatchEmail(
+ // @ts-ignore
+ batch.map((b) => b.email),
+ );
console.log("πŸš€ ~ data:", data);
if (error) {