Remove redundant variable
This commit is contained in:
parent
bf284f4fde
commit
eeed6d6038
|
@ -74,9 +74,7 @@ function graphqlRequest(
|
|||
$query = [ 'query' => $request->getSwoole()->rawContent() ];
|
||||
}
|
||||
|
||||
$batch = true;
|
||||
if (!isset($query[0])) {
|
||||
$batch = false;
|
||||
$query = [$query];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue