Skip to content

Commit

Permalink
fix(): Query Missing bindings (#9131)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p authored Sep 13, 2024
1 parent c97ea95 commit 03d6b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/modules-sdk/src/remote-query/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ export function createQuery(remoteQuery: RemoteQuery): RemoteQueryFunction {
return query.query.apply(query, args)
}

backwardCompatibleQuery.graph = query.graph
backwardCompatibleQuery.gql = query.gql
backwardCompatibleQuery.graph = query.graph.bind(query)
backwardCompatibleQuery.gql = query.gql.bind(query)

return backwardCompatibleQuery
}

0 comments on commit 03d6b64

Please sign in to comment.