Skip to content

Commit

Permalink
[fix] execute subscription method
Browse files Browse the repository at this point in the history
fixes Vincit#63
  • Loading branch information
lookfirst authored Sep 17, 2019
1 parent 70a8359 commit 833485e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SchemaBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class SchemaBuilder {

if (this.subscription) {
if (this.subscription instanceof Function) {
schemaSetup.subscription = this.mutation(this);
schemaSetup.subscription = this.subscription(this);
} else {
schemaSetup.subscription = this.subscription;
}
Expand Down

0 comments on commit 833485e

Please sign in to comment.