This commit is contained in:
jxxghp
2023-08-08 06:59:17 +08:00
parent 38dd65bece
commit 3c3b8ff0e4
6 changed files with 8 additions and 10 deletions

View File

@ -43,7 +43,7 @@ def create_user(
user_info["hashed_password"] = get_password_hash(user_info["password"])
user_info.pop("password")
user = User(**user_info)
user = user.create(db)
user.create(db)
return schemas.Response(success=True)