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 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.ts
index 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 it
if (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 recorded
const linksClicks = await prisma.link.aggregate({
_sum: {
clicks: true,