We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 557de6a commit 42d4739Copy full SHA for 42d4739
src/ConstantContact/Client.php
@@ -286,8 +286,7 @@ public function post(string $url, array $parameters) : ?array
286
{
287
try
288
289
- $json = \json_encode($parameters['body'], JSON_PRETTY_PRINT);
290
- $response = $this->getGuzzleClient()->request('POST', $url);
+ $response = $this->getGuzzleClient(\json_encode($parameters['body'], JSON_PRETTY_PRINT))->request('POST', $url);
291
292
return $this->process($response);
293
}
0 commit comments