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 route.ts

Steven Tey284b7e895363
diff --git a/apps/web/app/(ee)/api/cron/cleanup/route.ts b/apps/web/app/(ee)/api/cron/cleanup/route.ts
index 6ca61584ec..e9e18070de 100644
--- a/apps/web/app/(ee)/api/cron/cleanup/route.ts
+++ b/apps/web/app/(ee)/api/cron/cleanup/route.ts
@@ -90,6 +90,9 @@ export async function GET(req: Request) {
email: {
endsWith: "@dub-internal-test.com",
},
+ createdAt: {
+ lt: oneHourAgo,
+ },
},
}),
]);