Skip to content

Commit

Permalink
Fix jwt provider content format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejkosiarski committed Oct 9, 2019
1 parent e3f2a7b commit 18193b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/JwtProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function refreshJwt(): void
throw new HttpException($response->getStatusCode(), $message);
}

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

$finder = new JwtFinder();
$jwt = $finder->findJwt($content);
Expand Down

0 comments on commit 18193b0

Please sign in to comment.