We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ff004 commit c8568ddCopy full SHA for c8568dd
1 file changed
apps/web/scripts/framer/backfill-remainder.ts
@@ -135,11 +135,16 @@ async function main() {
135
136
// Get the first link to process
137
const linkToProcess = linksWithSales[0];
138
- console.log(
139
- `Processing link: ${linkToProcess.via} (${linkToProcess.linkId})`,
140
- );
141
142
- await processFramerData(linkToProcess);
+ if (linkToProcess.linkId) {
+ console.log(
+ `Processing link: ${linkToProcess.via} (${linkToProcess.linkId})`,
+ );
143
+
144
+ await processFramerData(linkToProcess);
145
+ } else {
146
+ console.log("No linkId found for linkToProcess");
147
+ }
148
149
// Remove the processed link from the array
150
linksWithSales.shift();
0 commit comments