Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

fix browser extension bug

daniel31x13546e216ac915
diff --git a/lib/api/controllers/links/postLink.ts b/lib/api/controllers/links/postLink.ts
index ec03d2a9..ba4e513d 100644
--- a/lib/api/controllers/links/postLink.ts
+++ b/lib/api/controllers/links/postLink.ts
@@ -48,6 +48,7 @@ export default async function postLink(
return { response: "Collection is not accessible.", status: 401 };
link.collection.id = findCollection.id;
+ link.collection.ownerId = findCollection.ownerId;
} else {
const collection = await prisma.collection.create({
data: {