Skip to content

Commit 0015231

Browse files
committed
refactor(sample/22): Update the method name in posts resolver to match the context
1 parent 6882bc7 commit 0015231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sample/22-graphql-prisma/src/posts/posts.resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class PostsResolver {
5050
}
5151

5252
@Subscription('post')
53-
onUserMutation(@Args() args, @Info() info) {
53+
onPostMutation(@Args() args, @Info() info) {
5454
return this.prisma.subscription.post(args, info);
5555
}
5656
}

0 commit comments

Comments
 (0)