small cleanup
This commit is contained in:
parent
eb2464db20
commit
57b2e36abd
|
@ -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 };
|
||||
|
||||
|
|
|
@ -76,8 +76,6 @@ const useCollectionStore = create<CollectionStore>()((set) => ({
|
|||
method: "DELETE",
|
||||
});
|
||||
|
||||
console.log(id);
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
console.log(data);
|
||||
|
|
Ŝarĝante…
Reference in New Issue