Skip to content

Commit

Permalink
chore:change endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jingooo5 committed Nov 2, 2024
1 parent 6d2719a commit 293d67c
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 @@ -40,7 +40,7 @@ def get_userItem_all(request : Request, user_id: str):
유저가 아이템 소비
TODO : request body에 아이템 개수 추가
"""
@router.post("/{user_id}/item/{item_name}/consume")
@router.post("/consume")
def consume_item(request : Request, user_id: str, user_item_consume: UserItemConsume):
result = UserItemService.consume_userItem(user_item_consume)
if result is False:
Expand Down

0 comments on commit 293d67c

Please sign in to comment.