The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update sync-expired-links.ts
Steven Tey7aefe35c34b3
diff --git a/apps/web/scripts/sync-expired-links.ts b/apps/web/scripts/sync-expired-links.tsindex f521d577e6..b65a91d5ac 100644--- a/apps/web/scripts/sync-expired-links.ts+++ b/apps/web/scripts/sync-expired-links.ts@@ -35,6 +35,7 @@ async function main() {const { domain, key, expiresAt } = chunk[idx];// @ts-ignore (old version)const { expired, ...rest } = link || {};+ // WARNING: OLD VERSION OF REDIS IMPLEMENTATION, WE NOW USE HSET (hashes)pipeline.set(`${domain}:${key}`, {...rest,expiresAt,