From 39d48f45da17ccc51a02e51aa4b9765c58027192 Mon Sep 17 00:00:00 2001 From: jingooo5 Date: Sun, 3 Nov 2024 06:36:59 +0900 Subject: [PATCH] chore:update endpoint --- Router/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Router/item.py b/Router/item.py index d34b2ce..7687aad 100644 --- a/Router/item.py +++ b/Router/item.py @@ -48,7 +48,7 @@ def get_userItem_all(request : Request, user_id: str, category: str = Query(...) user = UserService.get_user_by_id(user_id) if user is None: return JSONResponse(status_code=HTTP_500_INTERNAL_SERVER_ERROR, content={"message": "User not found"}) - if category == "ALL": + if category == "전체": user_item_list = UserItemService.get_all_userItem(user_id) user_item_list_dict = UserItemService.to_userItem_dict(user_item_list) else: