Use upstream raw payload function
This commit is contained in:
parent
143c53cb20
commit
4e60db0598
2 changed files with 1 additions and 6 deletions
|
@ -178,7 +178,7 @@ function executeRequest(
|
|||
*/
|
||||
function parseGraphql(Request $request): array
|
||||
{
|
||||
return [ 'query' => $request->getSwoole()->rawContent() ];
|
||||
return [ 'query' => $request->getRawContent() ];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,11 +32,6 @@ class Request extends UtopiaRequest
|
|||
return new self($this->swoole);
|
||||
}
|
||||
|
||||
public function getSwoole(): SwooleRequest
|
||||
{
|
||||
return $this->swoole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Params
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue