Skip to content

Commit

Permalink
Reuse client.query() in client.readQuery()
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Apr 22, 2021
1 parent 5933994 commit 607869b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export class Client {
let result: OperationResult<Data, Variables> | null = null;

pipe(
this.executeQuery(createRequest(query, variables), context),
this.query(query, variables, context),
subscribe(res => {
result = res;
})
Expand Down

0 comments on commit 607869b

Please sign in to comment.