This commit is contained in:
Untone 2021-08-09 21:58:59 +03:00
parent b6dfd6b41f
commit 74c4c09320

View File

@ -61,7 +61,7 @@ async def login(_, info: GraphQLResolveInfo, email: str, password: str):
return {"error" : "invalid password"}
token = await Authorize.authorize(user, device=device, auto_delete=auto_delete)
return {"token" : token, "user": user}}
return {"token" : token, "user": user}
@query.field("signOut")