Skip to content

Commit

Permalink
Fixing bug in asserting tokenization response
Browse files Browse the repository at this point in the history
  • Loading branch information
inakkar committed Oct 27, 2021
1 parent cfa6518 commit 169962a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/API/Endpoints/TokenEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ private function assertResponse(Response $response): void
'missing token in response. Please try again or contact support'
);
}

return;
}

if ($response->getStatusCode() === 422) {
Expand Down

0 comments on commit 169962a

Please sign in to comment.