Skip to content

Commit

Permalink
fix(gatsby): correct tracing for GraphQL queries (#28415) (#28475)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4e50d5c)

Co-authored-by: Vladimir Razuvaev <[email protected]>
  • Loading branch information
GatsbyJS Bot and vladar authored Dec 4, 2020
1 parent bb044de commit 53502cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/query/graphql-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class GraphQLRunner {

try {
// `execute` will return a promise
return execute({
return await execute({
schema,
document,
rootValue: context,
Expand Down

0 comments on commit 53502cc

Please sign in to comment.