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

Kiran Kf39abc1e3d78
diff --git a/apps/web/app/api/cron/domains/update/route.ts b/apps/web/app/api/cron/domains/update/route.ts
index f9d7f99d27..70c8542b36 100644
--- a/apps/web/app/api/cron/domains/update/route.ts
+++ b/apps/web/app/api/cron/domains/update/route.ts
@@ -72,13 +72,11 @@ export async function POST(req: Request) {
});
await Promise.all([
- // rename redis keys
linkCache.rename({
links: updatedLinks,
oldDomain,
}),
- // update links in Tinybird
recordLink(updatedLinks),
]);
}