The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
finalize script
Steven Teyc8568dd9e9fe
diff --git a/apps/web/scripts/framer/backfill-remainder.ts b/apps/web/scripts/framer/backfill-remainder.tsindex 9d5e3ad679..03827e730d 100644--- a/apps/web/scripts/framer/backfill-remainder.ts+++ b/apps/web/scripts/framer/backfill-remainder.ts@@ -135,11 +135,16 @@ async function main() {// Get the first link to processconst linkToProcess = linksWithSales[0];- console.log(- `Processing link: ${linkToProcess.via} (${linkToProcess.linkId})`,- );- await processFramerData(linkToProcess);+ if (linkToProcess.linkId) {+ console.log(+ `Processing link: ${linkToProcess.via} (${linkToProcess.linkId})`,+ );++ await processFramerData(linkToProcess);+ } else {+ console.log("No linkId found for linkToProcess");+ }// Remove the processed link from the arraylinksWithSales.shift();