mirror of
https://github.com/etesync/server
synced 2024-11-25 18:28:46 +00:00
Fix type error.
This commit is contained in:
parent
586b015eb7
commit
151bec0d9e
@ -261,6 +261,6 @@ def signup_save(data: SignupIn, request: Request) -> User:
|
||||
@authentication_router.post("/signup/", response_model=LoginOut, status_code=status.HTTP_201_CREATED)
|
||||
def signup(data: SignupIn, request: Request):
|
||||
user = signup_save(data, request)
|
||||
data = LoginOut.from_orm(user)
|
||||
ret = LoginOut.from_orm(user)
|
||||
user_signed_up.send(sender=user.__class__, request=None, user=user)
|
||||
return data
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user