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 K21530a954d95
diff --git a/apps/web/app/api/links/export/route.ts b/apps/web/app/api/links/export/route.ts
index a2b5b7eea4..07651c3395 100644
--- a/apps/web/app/api/links/export/route.ts
+++ b/apps/web/app/api/links/export/route.ts
@@ -91,7 +91,7 @@ export const GET = withWorkspace(
tags: { some: { tagId: { in: tagIds } } },
}),
...(userId && { userId }),
- folderId: folderId ?? "",
+ folderId: folderId || null,
},
// TODO: orderBy is not currently supported