Skip to content

Commit 3ba32a3

Browse files
committed
fix(graffle): client sends accept header
1 parent 543ffdf commit 3ba32a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/0_functions/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const request = async (input: Input): Promise<ExecutionResult> => {
2828
const requestObject = new Request(input.url, {
2929
method: `POST`,
3030
headers: new Headers({
31-
'content-type': CONTENT_TYPE_GQL,
31+
'accept': CONTENT_TYPE_GQL,
3232
...Object.fromEntries(new Headers(input.headers).entries()),
3333
}),
3434
body: bodyEncoded,

0 commit comments

Comments
 (0)