@@ -32,7 +32,7 @@ |
||
32 | 32 | public function indexAction( ServerRequestInterface $request ) |
33 | 33 | { |
34 | 34 | if( config( 'shop.authorize', true ) ) { |
35 | - $this->authorize( 'admin', [GraphqlController::class, array_merge( config( 'shop.roles', ['admin', 'editor'] ), ['api'])] ); |
|
35 | + $this->authorize( 'admin', [GraphqlController::class, array_merge( config( 'shop.roles', ['admin', 'editor'] ), ['api'] )] ); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | $site = Route::input( 'site', Request::get( 'site', config( 'shop.mshop.locale.site', 'default' ) ) ); |