Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit d9b5ec4

Browse files
committed
fix parsing data from Guzzle object, NEED TO FIX BROKEN TESTS :/
1 parent dd52738 commit d9b5ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ protected function getApiRequest($url, Event $event, Queue $queue)
169169
public function resolve($url, $data, Event $event, Queue $queue)
170170
{
171171
$logger = $this->getLogger();
172-
$json = json_decode($data);
172+
$json = json_decode($data->getBody());
173173
$logger->info('resolve', array('url' => $url, 'json' => $json));
174174

175175
if (isset($json->error)) {

0 commit comments

Comments
 (0)