From 833485e113d8f6c43b32f178d49ce6b5b1507182 Mon Sep 17 00:00:00 2001 From: Jon Stevens Date: Tue, 17 Sep 2019 10:35:14 +0700 Subject: [PATCH] [fix] execute subscription method fixes #63 --- lib/SchemaBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }