1
0
mirror of https://github.com/etesync/server synced 2024-11-25 18:28:46 +00:00

Fix type error.

This commit is contained in:
Tom Hacohen 2020-12-28 16:44:13 +02:00
parent 586b015eb7
commit 151bec0d9e

View File

@ -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