Skip to content

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

small cleanup

Daniel57b2e36abda1
diff --git a/lib/api/controllers/collections/deleteCollection.ts b/lib/api/controllers/collections/deleteCollection.ts
index 97d20e6c..6cc27efe 100644
--- a/lib/api/controllers/collections/deleteCollection.ts
+++ b/lib/api/controllers/collections/deleteCollection.ts
@@ -8,8 +8,6 @@ import getPermission from "@/lib/api/getPermission";
import fs from "fs";
export default async function (collection: { id: number }, userId: number) {
- console.log(collection.id);
-
if (!collection.id)
return { response: "Please choose a valid collection.", status: 401 };
diff --git a/store/collections.ts b/store/collections.ts
index c0c0663b..9fd6ca58 100644
--- a/store/collections.ts
+++ b/store/collections.ts
@@ -76,8 +76,6 @@ const useCollectionStore = create<CollectionStore>()((set) => ({
method: "DELETE",
});
- console.log(id);
-
const data = await response.json();
console.log(data);