modify plugin name

This commit is contained in:
2022-06-08 17:19:32 +08:00
parent 2a6b2a1979
commit 8f9de7a508
4 changed files with 39 additions and 13 deletions
+4 -2
View File
@@ -28,9 +28,11 @@ class JsonRpcTransporter implements RpcClientInterface
{
$content = $request->getBody()->getContents();
$response = $this->request($this->newClient(), $content, true);
$body = $this->request($this->newClient(), $content);
return (new Response())->withBody(new Stream($response));
$response = \Kiri::getDi()->get(ResponseInterface::class);
return $response->withBody(new Stream($body));
}