Skip to content

Commit

Permalink
Merge pull request #35 from vuongxuongminh/patch-1
Browse files Browse the repository at this point in the history
fix: `debug` setting in graphqlite config file
  • Loading branch information
moufmouf committed Apr 5, 2023
2 parents 2ea6703 + 5242f39 commit 5ade008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/graphqlite.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use GraphQL\Error\Debug;
use GraphQL\Error\DebugFlag;

return [
/*
Expand All @@ -18,7 +18,7 @@
*/
'controllers' => 'App\\Http\\Controllers',
'types' => 'App\\',
'debug' => Debug::RETHROW_UNSAFE_EXCEPTIONS,
'debug' => DebugFlag::RETHROW_UNSAFE_EXCEPTIONS,
'uri' => env('GRAPHQLITE_URI', '/graphql'),
'middleware' => ['web'],
];

0 comments on commit 5ade008

Please sign in to comment.