From 29eeceb89f274e3c34c475b25437dd42f08452b8 Mon Sep 17 00:00:00 2001 From: Divyendu Singh Date: Thu, 12 Jul 2018 16:15:02 +0530 Subject: [PATCH] feat: request -- do not pluck data out but return full response --- src/Delegate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Delegate.ts b/src/Delegate.ts index 8fc17f1d..920739f5 100644 --- a/src/Delegate.ts +++ b/src/Delegate.ts @@ -40,7 +40,7 @@ export class Delegate { ): Promise { this.before() return graphql(this.schema, query, null, null, variables).then( - r => r.data as any, + r => r as any, ) }