Skip to content

Commit

Permalink
Merge pull request #14 from Loupiotte93/master
Browse files Browse the repository at this point in the history
fix: give correct "response body" to League's IdentityProviderException
  • Loading branch information
AlaaSarhan authored Dec 2, 2023
2 parents f70ec95 + e84bb41 commit ad66a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/Docusign.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function checkResponse(ResponseInterface $response, $data)
throw new IdentityProviderException(
$response->getReasonPhrase(),
$response->getStatusCode(),
$response->getReasonPhrase()
\json_decode((string) $response->getBody(), true)
);
}
}
Expand Down

0 comments on commit ad66a37

Please sign in to comment.