Skip to content

Commit

Permalink
hotfix: Add datetime to clikc log
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbang2 committed Jan 26, 2023
1 parent ebdbe5e commit 47581da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webserver/backend/app/crud/hobbang_crud_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ def write_click_log(user: schemas.ClickLog, db: Session):
db_click = LogClick(
user_id=user.user_id,
item_id=user.house_id,
log_type=user.log_type
log_type=user.log_type,
log_date=datetime.now()
)
db.add(db_click)
db.commit()
Expand Down

0 comments on commit 47581da

Please sign in to comment.