Daan Helsloot
08/05/2020, 7:16 PMGraphQLClient {
url: '<https://api.devprtcl.com/v1/graphql>',
options: { headers: { Accept: 'application/json' } }
}
The response:
Error: GraphQL Error(Code: 200): {
"response": {
"error": "{\"data\":{\"property_authentication\":[{\"property\":\"0xcEBD1BF31DF3E3697Ea26e2F94F9E3644C809F46\"}]}}",
"status": 200
},
"request": {
"query": "{ property_authentication(where: {authentication_id: {_eq: \"vue-i18n\"}}) {\n\t\tproperty\n\t }\n\t}"
}
}
at GraphQLClient. < anonymous > (/home/daan / badge / node_modules / graphql - request / dist / index.js: 134: 35)
at step(/home/daan / badge / node_modules / graphql - request / dist / index.js: 44: 23)
at Object.next(/home/daan / badge / node_modules / graphql - request / dist / index.js: 25: 53)
at fulfilled(/home/daan / badge / node_modules / graphql - request / dist / index.js: 16: 58)
at processTicksAndRejections(internal / process / task_queues.js: 97: 5)
Richard Ward
08/05/2020, 11:30 PMstringify
before returning from the resolver or are you returning the object? (returning the object should work)Daan Helsloot
08/06/2020, 8:32 AM