Haider Malik
07/17/2018, 4:38 PMharmony
07/17/2018, 4:39 PMHaider Malik
07/17/2018, 4:40 PMcontext: req => ({
...req,
db: new Prisma({
typeDefs: 'src/generated/prisma.graphql', // the auto-generated GraphQL schema of the Prisma API
endpoint: '<https://eu1.prisma.sh/haider-malik-c1556d/service-hn/dev>', // the endpoint of the Prisma API
debug: true, // log all GraphQL queries & mutations sent to the Prisma API
secret: 'mysecret123', // only needed if specified in `database/prisma.yml`
}),
}),
Haider Malik
07/17/2018, 4:41 PMHaider Malik
07/17/2018, 4:41 PMharmony
07/17/2018, 4:52 PMHaider Malik
07/17/2018, 4:54 PMnilan
07/17/2018, 5:20 PMAndrés Rodríguez
07/17/2018, 5:24 PMnilan
07/17/2018, 5:24 PMAndrés Rodríguez
07/17/2018, 5:25 PMAndrés Rodríguez
07/17/2018, 5:26 PMlawjolla
07/18/2018, 3:50 PM401 unauthorized
. Take a look in your network tab to see the problem.