Closed eduscrakozabrus closed 4 years ago
how to login with return token for auth? mutation {account {login (input: {service:Password params: {email: "AliceBobsEmail@protonmail.com" password: "supersecretpassword" }}) {tokens {accessToken} } }}
{ "errors": [ { "message": "Cannot return null for non-nullable field Account.tokens.", "locations": [ { "line": 4, "column": 7 } ], "path": [ "account", "login", "tokens" ], "extensions": { "code": "INTERNAL_SERVER_ERROR", "exception": { "stacktrace": [ "Error: Cannot return null for non-nullable field Account.tokens.", " at
how to login with return token for auth? mutation {account {login (input: {service:Password params: {email: "AliceBobsEmail@protonmail.com" password: "supersecretpassword" }}) {tokens {accessToken} } }}
{ "errors": [ { "message": "Cannot return null for non-nullable field Account.tokens.", "locations": [ { "line": 4, "column": 7 } ], "path": [ "account", "login", "tokens" ], "extensions": { "code": "INTERNAL_SERVER_ERROR", "exception": { "stacktrace": [ "Error: Cannot return null for non-nullable field Account.tokens.", " at