Skip to content

Commit

Permalink
chore:update endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jingooo5 committed Nov 2, 2024
1 parent 4fc30fa commit 39d48f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Router/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 39d48f4

Please sign in to comment.