From 0015231e868ead2302e7b3575a64e593d31490d8 Mon Sep 17 00:00:00 2001 From: pvtri96 Date: Mon, 18 Mar 2019 21:01:56 +0700 Subject: [PATCH] refactor(sample/22): Update the method name in posts resolver to match the context --- sample/22-graphql-prisma/src/posts/posts.resolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/22-graphql-prisma/src/posts/posts.resolver.ts b/sample/22-graphql-prisma/src/posts/posts.resolver.ts index 9f7d7d27001..4dbeb4569d4 100644 --- a/sample/22-graphql-prisma/src/posts/posts.resolver.ts +++ b/sample/22-graphql-prisma/src/posts/posts.resolver.ts @@ -50,7 +50,7 @@ export class PostsResolver { } @Subscription('post') - onUserMutation(@Args() args, @Info() info) { + onPostMutation(@Args() args, @Info() info) { return this.prisma.subscription.post(args, info); } }