Skip to content

Commit

Permalink
Merge pull request nestjs#1730 from pvtri96/pvtri96/refactor
Browse files Browse the repository at this point in the history
refactor(sample/22): Update the method name in posts resolver to match the context
  • Loading branch information
kamilmysliwiec authored Mar 19, 2019
2 parents 00a9aef + 0015231 commit 0e33860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/22-graphql-prisma/src/posts/posts.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 0e33860

Please sign in to comment.