The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update utils.ts
Steven Tey3641b6a48b87
diff --git a/apps/web/app/api/cron/domains/verify/utils.ts b/apps/web/app/api/cron/domains/verify/utils.tsindex eaf1dea65a..548de7cbfa 100644--- a/apps/web/app/api/cron/domains/verify/utils.ts+++ b/apps/web/app/api/cron/domains/verify/utils.ts@@ -75,8 +75,8 @@ export const handleDomainUpdates = async ({// if domain is invalid for more than 30 days, check if we can delete itif (invalidDays >= 30) {- // Don't delete the domain (manual inspection required) if:- // - there are still links associated with the domain and those links have clicks+ // Don't delete the domain (manual inspection required)+ // if the links for the domain have clicks recordedconst linksClicks = await prisma.link.aggregate({_sum: {clicks: true,