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.

update

Steven Tey2b2695893e65
diff --git a/apps/web/app/api/cron/year-in-review/route.ts b/apps/web/app/api/cron/year-in-review/route.ts
index fcf8c33768..32d5aba981 100644
--- a/apps/web/app/api/cron/year-in-review/route.ts
+++ b/apps/web/app/api/cron/year-in-review/route.ts
@@ -63,8 +63,7 @@ export async function POST(req: Request) {
workspaceId: workspace.id,
email: {
from: "Steven from Dub.co <[email protected]>",
- // to: user.email!,
+ to: user.email!,
replyToFromEmail: true,
subject: "Dub Year in Review 🎊",
text: "Thank you for your support and here's to another year of your activity on Dub! Here's a look back at your activity in 2024.",
diff --git a/apps/web/scripts/dub-wrapped.ts b/apps/web/scripts/dub-wrapped.ts
index 4a6423525c..883cc7e698 100644
--- a/apps/web/scripts/dub-wrapped.ts
+++ b/apps/web/scripts/dub-wrapped.ts
@@ -48,7 +48,7 @@ async function main() {
id: "desc",
},
},
- take: 10,
+ take: 20,
})
// only get projects with more than 5 links created in 2024
.then((data) => data.filter(({ _count }) => _count.id > 5));