Skip to content

Commit

Permalink
empty object doesn't match expected types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Dec 27, 2024
1 parent f38238e commit ba3b087
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/graphql-server/src/graphiql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export const configureGraphiQLPlayground = ({
return !disableGraphiQL
? {
title: 'Redwood GraphQL Playground',
headers: generateGraphiQLHeader
? generateGraphiQLHeader()
: {},
headers: generateGraphiQLHeader?.(),
defaultQuery: DEFAULT_QUERY,
headerEditorEnabled: true,
}
Expand Down

0 comments on commit ba3b087

Please sign in to comment.