From 7dd28bc6c2b9fec482a1132e0666492c1e75addf Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Fri, 9 Dec 2022 22:17:36 -0700 Subject: [PATCH] Fix some code formatting --- src/link/batch-http/batchHttpLink.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/link/batch-http/batchHttpLink.ts b/src/link/batch-http/batchHttpLink.ts index 5f0ec3e5933..75dec9d3586 100644 --- a/src/link/batch-http/batchHttpLink.ts +++ b/src/link/batch-http/batchHttpLink.ts @@ -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 @@ -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;