small cleanup

This commit is contained in:
Daniel
2023-04-29 01:05:49 +03:30
parent eb2464db20
commit 57b2e36abd
2 changed files with 0 additions and 4 deletions
@@ -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 };
-2
View File
@@ -76,8 +76,6 @@ const useCollectionStore = create<CollectionStore>()((set) => ({
method: "DELETE",
});
console.log(id);
const data = await response.json();
console.log(data);