Minor stuff
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user