From c062fba115174aacfce6597a5c8f40eb8e65213e Mon Sep 17 00:00:00 2001 From: rocknroll17 Date: Sun, 3 Nov 2024 03:21:05 +0900 Subject: [PATCH] chore:fixed typo --- Service/consume_service.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Service/consume_service.py b/Service/consume_service.py index d10981b..35cb073 100644 --- a/Service/consume_service.py +++ b/Service/consume_service.py @@ -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):