Skip to content

Commit b75c8a4

Browse files
committed
chore(cleanup): template string
1 parent 6fab06a commit b75c8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basic/server/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const resolvers = {
2121
)
2222
},
2323
deletePost(parent, { id }, ctx, info) {
24-
return ctx.db.mutation.deletePost({where: { id } }, info)
24+
return ctx.db.mutation.deletePost({ where: { id } }, info)
2525
},
2626
publish(parent, { id }, ctx, info) {
2727
return ctx.db.mutation.updatePost(
@@ -42,7 +42,7 @@ const server = new GraphQLServer({
4242
...req,
4343
db: new Prisma({
4444
typeDefs: 'src/generated/prisma.graphql',
45-
endpoint: 'https://eu1.prisma.sh/public-mesquiteraptor-586/whoo22hoo/dev',
45+
endpoint: '__PRISMA_ENDPOINT__',
4646
secret: 'mysecret123',
4747
debug: true,
4848
}),

0 commit comments

Comments
 (0)