Minor stuff

This commit is contained in:
lvrossem
2023-04-01 10:03:18 -06:00
parent 65d1a2a6e4
commit d2933a95ba
9 changed files with 91 additions and 54 deletions

View File

@@ -18,6 +18,7 @@ def patch_user(db: Session, username: str, user: UserCreate):
db_user.username = user.username
db_user.hashed_password = pwd_context.hash(user.password)
db_user.avatar = user.avatar
db.commit()