Skip to content

Commit 5ade008

Browse files
authored
Merge pull request #35 from vuongxuongminh/patch-1
fix: `debug` setting in graphqlite config file
2 parents 2ea6703 + 5242f39 commit 5ade008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/graphqlite.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use GraphQL\Error\Debug;
3+
use GraphQL\Error\DebugFlag;
44

55
return [
66
/*
@@ -18,7 +18,7 @@
1818
*/
1919
'controllers' => 'App\\Http\\Controllers',
2020
'types' => 'App\\',
21-
'debug' => Debug::RETHROW_UNSAFE_EXCEPTIONS,
21+
'debug' => DebugFlag::RETHROW_UNSAFE_EXCEPTIONS,
2222
'uri' => env('GRAPHQLITE_URI', '/graphql'),
2323
'middleware' => ['web'],
2424
];

0 commit comments

Comments
 (0)