Skip to content

Commit

Permalink
Merge pull request #344 from redboer/patch-1
Browse files Browse the repository at this point in the history
Update GraphQLService.php
  • Loading branch information
markhuot committed Sep 9, 2021
2 parents 7dd5368 + 3b9e099 commit d01af3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/GraphQLService.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function getSchema($token) {
}

function execute($schema, $input, $variables = []) {
$debug = Craft::$app->config->getGeneral()->devMode ? DebugFlag::INCLUDE_DEBUG_MESSAGE | DebugFlag::RETHROW_INTERNAL_EXCEPTIONS : null;
$debug = Craft::$app->config->getGeneral()->devMode ? DebugFlag::INCLUDE_DEBUG_MESSAGE | DebugFlag::RETHROW_INTERNAL_EXCEPTIONS : 0;
return GraphQL::executeQuery($schema, $input, null, null, $variables)->toArray($debug);
}

Expand Down

0 comments on commit d01af3b

Please sign in to comment.