Skip to content

Commit 058bfcd

Browse files
author
zouyi6
committed
remove send
1 parent c5ff1b9 commit 058bfcd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Requests/AbstractAopRequest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,9 @@ public function sendData($data)
178178
$url = $this->getRequestUrl($data);
179179
$body = $this->getRequestBody();
180180

181-
$response = $this->httpClient->post($url, [], $body)/**/
182-
->send()->getBody();
181+
$response = $this->httpClient->post($url, [], $body);
183182

184-
$response = $this->decode($response);
183+
$response = $this->decode($response->getBody());
185184

186185
return $response;
187186
}

0 commit comments

Comments
 (0)