Skip to content

Commit

Permalink
chore:fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rocknroll17 committed Nov 2, 2024
1 parent 6207938 commit c062fba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Service/consume_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class ConsumeService:
def consume_history_db(data : UserItemConsume):
with get_db() as db:
item_id = db.query(UserItem).filter(UserItem.user_id == data.user_id, UserItem.item_name == data.item_name).first().item_id
print(data.user_id, item_id)
return ConsumeHistory(user_id=data.user_id, item_id=item_id, count=data.consume_count, date=data.consume_date)

def purchase_history_save(data : ConsumeHistory):
Expand Down

0 comments on commit c062fba

Please sign in to comment.