Open serverlesspolska opened 6 years ago
Hi there,
I try to use graphcool-lib in the following way:
const client = Graphcool(gcProjectId, { token: gcToken }) const api = client.api('simple/v1') api.request(` some graphql query`)
But I get following error: TypeError: Cannot set property 'endpoints' of undefined.
PS. I don't use fromEvent function because I try to connect to my GraphCool db from Lambda function.
fromEvent
What am I doing wrong?
Hi there,
I try to use graphcool-lib in the following way:
But I get following error: TypeError: Cannot set property 'endpoints' of undefined.
PS. I don't use
fromEvent
function because I try to connect to my GraphCool db from Lambda function.What am I doing wrong?