schema-fix
This commit is contained in:
parent
5da27fffa5
commit
3202a70bed
|
@ -112,7 +112,7 @@ async def register(_, _info, email: str, password: str = "", username: str = "")
|
|||
if not password:
|
||||
user = await auth_send_link(_, _info, email)
|
||||
|
||||
return user
|
||||
return {"user": user}
|
||||
|
||||
|
||||
@mutation.field("sendLink")
|
||||
|
|
|
@ -154,7 +154,7 @@ type Mutation {
|
|||
|
||||
# auth
|
||||
refreshSession: AuthResult!
|
||||
registerUser(email: String!, password: String, username: String): User!
|
||||
registerUser(email: String!, password: String, username: String): AuthResult!
|
||||
sendLink(email: String!): Result!
|
||||
confirmEmail(code: String!): AuthResult!
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user