Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -136,6 +136,11 @@ class _GraphQL extends Api
|
||||
}
|
||||
}
|
||||
|
||||
if( !$query )
|
||||
{
|
||||
$this->_respond( json_encode( array( 'errors' => array( array( 'message' => 'NO_QUERY' ) ) ), JSON_PRETTY_PRINT ), 400 );
|
||||
}
|
||||
|
||||
$output = \IPS\Api\GraphQL::execute( $query, $variables );
|
||||
|
||||
\IPS\Member::loggedIn()->language()->parseOutputForDisplay( $output );
|
||||
|
||||
Reference in new issue
Block a user