We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fab06a commit b75c8a4Copy full SHA for b75c8a4
basic/server/src/index.js
@@ -21,7 +21,7 @@ const resolvers = {
21
)
22
},
23
deletePost(parent, { id }, ctx, info) {
24
- return ctx.db.mutation.deletePost({where: { id } }, info)
+ return ctx.db.mutation.deletePost({ where: { id } }, info)
25
26
publish(parent, { id }, ctx, info) {
27
return ctx.db.mutation.updatePost(
@@ -42,7 +42,7 @@ const server = new GraphQLServer({
42
...req,
43
db: new Prisma({
44
typeDefs: 'src/generated/prisma.graphql',
45
- endpoint: 'https://eu1.prisma.sh/public-mesquiteraptor-586/whoo22hoo/dev',
+ endpoint: '__PRISMA_ENDPOINT__',
46
secret: 'mysecret123',
47
debug: true,
48
}),
0 commit comments