Skip to content

Commit

Permalink
json() is deprecated in guzzle 6
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan-brown committed Nov 10, 2019
1 parent e122242 commit c861f8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function callback($id) {
]
);

$json = $response->json();
$json = json_decode($response->getBody()->getContents(), true);

if(!empty($json['access_token'])) {
$this->CoGithubProvisionerTarget->id = $id;
Expand Down

0 comments on commit c861f8c

Please sign in to comment.