Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Mar 18, 2020
1 parent cbed88b commit e958779
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions exchanges/multipart-fetch/src/multipartFetchExchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@ const createFetchSource = (operation: Operation, shouldUseGet: boolean) => {
// Make fetch auto-append this for correctness
delete fetchOptions.headers['content-type'];

fetchOptions.body.append('operations', JSON.stringify({
...body,
variables: clone,
}));
fetchOptions.body.append(
'operations',
JSON.stringify({
...body,
variables: clone,
})
);

const map = {};
let i = 0;
Expand Down

0 comments on commit e958779

Please sign in to comment.