Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer authored and glasser committed Sep 24, 2022
1 parent ecd3ad5 commit 0bace22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export async function collectCacheControlHintsAndPolicyIfCacheable(
],
});
await server.start();
const response = await server.executeOperation({request:{ query: source }});
const response = await server.executeOperation({
request: { query: source },
});
await server.stop();

if (!('singleResult' in response.body)) {
Expand Down
5 changes: 1 addition & 4 deletions packages/server/src/errorNormalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ import {
} from 'graphql';
import { ApolloServerErrorCode } from './errors/index.js';
import type { HTTPGraphQLHead } from './externalTypes/http.js';
import {
mergeHTTPGraphQLHead,
newHTTPGraphQLHead,
} from './runHttpQuery.js';
import { mergeHTTPGraphQLHead, newHTTPGraphQLHead } from './runHttpQuery.js';
import { HeaderMap } from './utils/HeaderMap.js';

// This function accepts any value that were thrown and convert it to GraphQLFormattedError.
Expand Down

0 comments on commit 0bace22

Please sign in to comment.