This commit is contained in:
2021-09-10 13:46:59 +08:00
parent 40db648d81
commit 93d38814f3
+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());
$this->parsedBody = $callback($this->getBody(), $this->serverTarget->post);
}
return $this->parsedBody;
}