fixed Bug: redirecting

Also removed irrelavant console.logs
This commit is contained in:
2026-01-28 12:43:58 +01:00
parent 5aa8a32020
commit 4b08a574d8
5 changed files with 8 additions and 10 deletions

View File

@@ -167,7 +167,6 @@ export const createItem = async (
can_borrow_role: number,
lockerNumber: string | null
) => {
console.log(JSON.stringify({ item_name, can_borrow_role, lockerNumber }));
try {
const response = await fetch(
`${API_BASE}/api/admin/item-data/create-item`,