diff --git a/lib/SchemaBuilder.js b/lib/SchemaBuilder.js index 32ac3af..1110c3e 100644 --- a/lib/SchemaBuilder.js +++ b/lib/SchemaBuilder.js @@ -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; }