Skip to content

Commit

Permalink
fix(graffle): client sends accept header
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed May 12, 2024
1 parent 543ffdf commit 3ba32a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/0_functions/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const request = async (input: Input): Promise<ExecutionResult> => {
const requestObject = new Request(input.url, {
method: `POST`,
headers: new Headers({
'content-type': CONTENT_TYPE_GQL,
'accept': CONTENT_TYPE_GQL,
...Object.fromEntries(new Headers(input.headers).entries()),
}),
body: bodyEncoded,
Expand Down

0 comments on commit 3ba32a3

Please sign in to comment.