This commit is contained in:
2021-09-10 11:48:45 +08:00
parent c22994f545
commit 5dd75fba7f
+1 -1
View File
@@ -147,7 +147,7 @@ class ServerRequest extends Request implements ServerRequestInterface
if (empty($this->parsedBody)) {
$callback = Context::getContext('with.parsed.body.callback');
$this->parsedBody = $callback($this->getBody()->getContents());
$this->parsedBody = $callback($this->getBody());
}
return $this->parsedBody;
}