add task post
This commit is contained in:
@@ -15,7 +15,7 @@ class AuthService(BaseService):
|
||||
email=cred.email,
|
||||
hashed_password=hashed_pass,
|
||||
)
|
||||
result = await self.session.user.create_one(user_to_insert)
|
||||
result = await self.session.user.create_one(user_to_insert.model_dump())
|
||||
await self.session.commit()
|
||||
return User.model_validate(result)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user