Skip to content

Commit

Permalink
feat: request -- do not pluck data out but return full response
Browse files Browse the repository at this point in the history
  • Loading branch information
Divyendu Singh committed Jul 16, 2018
1 parent 00c5c97 commit 29eeceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Delegate {
): Promise<T> {
this.before()
return graphql(this.schema, query, null, null, variables).then(
r => r.data as any,
r => r as any,
)
}

Expand Down

0 comments on commit 29eeceb

Please sign in to comment.