From eeed6d60387e997bf208b370f9d496c64dcac2a7 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 13 Jul 2022 16:41:40 +1200 Subject: [PATCH] Remove redundant variable --- app/controllers/api/graphql.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/graphql.php b/app/controllers/api/graphql.php index 6b0525cd78..9adbd440dd 100644 --- a/app/controllers/api/graphql.php +++ b/app/controllers/api/graphql.php @@ -74,9 +74,7 @@ function graphqlRequest( $query = [ 'query' => $request->getSwoole()->rawContent() ]; } - $batch = true; if (!isset($query[0])) { - $batch = false; $query = [$query]; }