Skip to content

Commit

Permalink
fix: Pass yoga context to onRemoteRequestHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
aarne committed Mar 16, 2024
1 parent 9e54f11 commit 8917c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function wrap(
const headers = options?.headers ?? {};
if (opts.onRemoteRequestHeaders) {
const more = await opts.onRemoteRequestHeaders({
context: {},
context,
endpoint: subgraph.endpoint,
subgraphName: subgraph.subgraphName,
});
Expand Down

0 comments on commit 8917c7c

Please sign in to comment.