1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

Use upstream raw payload function

This commit is contained in:
Jake Barnby 2022-10-13 16:56:12 +13:00
parent 143c53cb20
commit 4e60db0598
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
2 changed files with 1 additions and 6 deletions

View file

@ -178,7 +178,7 @@ function executeRequest(
*/
function parseGraphql(Request $request): array
{
return [ 'query' => $request->getSwoole()->rawContent() ];
return [ 'query' => $request->getRawContent() ];
}
/**

View file

@ -32,11 +32,6 @@ class Request extends UtopiaRequest
return new self($this->swoole);
}
public function getSwoole(): SwooleRequest
{
return $this->swoole;
}
/**
* Get Params
*