Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: filter out vercel blobs

Marc Seitz1fb218c5e95e
diff --git a/pages/api/links/download/bulk.ts b/pages/api/links/download/bulk.ts
index 9901a21d..79d6e8be 100644
--- a/pages/api/links/download/bulk.ts
+++ b/pages/api/links/download/bulk.ts
@@ -158,7 +158,7 @@ export default async function handle(
const fileKeysOnly = view.dataroom.documents
.filter((doc) => doc.document.versions[0].type !== "notion")
- .filter((doc) => doc.document.versions[0].storageType === "VERCEL_BLOB")
+ .filter((doc) => doc.document.versions[0].storageType !== "VERCEL_BLOB")
.map((doc) => {
return doc.document.versions[0].file;
});