Skip to content

Commit

Permalink
Fix some code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 21, 2022
1 parent be3e98e commit 7dd28bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/link/batch-http/batchHttpLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class BatchHttpLink extends ApolloLink {
return removeClientSetsFromDocument(query);
}

return query
return query;
});

// If we have a query that returned `null` after removing client-only
Expand All @@ -118,15 +118,15 @@ export class BatchHttpLink extends ApolloLink {
}

//uses fallback, link, and then context to build options
const optsAndBody = operations.map((operation, index) => {
return selectHttpOptionsAndBodyInternal(
const optsAndBody = operations.map((operation, index) =>
selectHttpOptionsAndBodyInternal(
{ ...operation, query: queries[index]! },
print,
fallbackHttpConfig,
linkConfig,
contextConfig,
)
});
),
);

const loadedBody = optsAndBody.map(({ body }) => body);
const options = optsAndBody[0].options;
Expand Down

0 comments on commit 7dd28bc

Please sign in to comment.