From 1906c661bc310be6fb891b495a0a4009e615539a Mon Sep 17 00:00:00 2001 From: Paul Taylor Date: Sat, 1 Sep 2018 02:48:29 -0700 Subject: [PATCH] fix typo to call `this.subscription()` instead of `this.mutation()` in build --- lib/SchemaBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SchemaBuilder.js b/lib/SchemaBuilder.js index 5b50a71..6c2155a 100644 --- a/lib/SchemaBuilder.js +++ b/lib/SchemaBuilder.js @@ -153,7 +153,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; }