From f3746c00f0d300a3f2bc8e292e023a8cd9687d34 Mon Sep 17 00:00:00 2001 From: jingooo5 Date: Sun, 3 Nov 2024 02:33:43 +0900 Subject: [PATCH] chore:fix typo --- Router/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Router/item.py b/Router/item.py index ed038d3..e0184c1 100644 --- a/Router/item.py +++ b/Router/item.py @@ -41,7 +41,7 @@ def get_userItem_all(request : Request, user_id: str): TODO : request body에 아이템 개수 추가 """ @router.post("/consume") -def consume_item(request : Request, user_id: str, user_item_consume: UserItemConsume): +def consume_item(request : Request, user_item_consume: UserItemConsume): result = UserItemService.consume_userItem(user_item_consume) if result is False: return JSONResponse(status_code=HTTP_400_BAD_REQUEST, content={"message": "Item consume failed"})