Closed borakilicoglu closed 7 years ago
I'm getting this issue at authenticateEmailUser.js
GraphQL error: function execution error: Error: Graphcool must be instantiated with a pat when calling 'generateAuthToken': new Graphcool('project-id', {pat: 'pat'})
You need to create a PAT in your project that's called the same as your function.
Solved, thank you 👍
what is PAT exactly? event.context.graphcool.pat is this what are you talking about? @marktani
event.context.graphcool.pat
I'm getting this issue at authenticateEmailUser.js
GraphQL error: function execution error: Error: Graphcool must be instantiated with a pat when calling 'generateAuthToken': new Graphcool('project-id', {pat: 'pat'})