Skip to content

Commit

Permalink
Fix authorize action
Browse files Browse the repository at this point in the history
  • Loading branch information
toooni committed Dec 3, 2022
1 parent f290177 commit d79c98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Action/AuthorizeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function execute($request)
throw new InvalidArgumentException($e->getMessage(), $e->getCode());
}

if ($model['http_code'] === 202) {
if ($model['http_metadata']->getStatusCode() === 202) {
throw new HttpRedirect($model['_links']['redirect']['href']);
}

Expand Down

0 comments on commit d79c98b

Please sign in to comment.