Skip to content

Commit

Permalink
WebserviceController: query must be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse authored and dvesh3 committed Jul 31, 2023
1 parent 068882e commit b90a374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/WebserviceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function webonyxAction(
$input = json_decode($request->getContent(), true);
}

$query = $input['query'] ?? null;
$query = $input['query'] ?? '';
$variableValues = $input['variables'] ?? null;

try {
Expand Down

0 comments on commit b90a374

Please sign in to comment.