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

Tim Wilson220c1cccb133
diff --git a/apps/web/app/api/cron/import/csv/utils.ts b/apps/web/app/api/cron/import/csv/utils.ts
index 588e210d95..06ae624206 100644
--- a/apps/web/app/api/cron/import/csv/utils.ts
+++ b/apps/web/app/api/cron/import/csv/utils.ts
@@ -36,7 +36,7 @@ export const importLinksFromCSV = async ({
);
const validLinks = processedLinks
- .filter(({ error }) => error != null)
+ .filter(({ error }) => error == null)
.map(({ link }) => link);
const importedLinks = await bulkCreateLinks({