Skip to content

Commit

Permalink
Merge pull request #78 from catenax-ng/hotfix/v1.0.0-alpha
Browse files Browse the repository at this point in the history
Hotfix/v1.0.0-alpha: fixed infinite loop related to get status bug #76
  • Loading branch information
matbmoser authored Jul 4, 2023
2 parents 443e1fb + fd6271c commit dd30d63
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ public Response getPassport(@Valid @RequestBody TokenRequest tokenRequestBody) {
return httpUtil.buildResponse(response, httpResponse);
}

if (!status.historyExists("transfer-completed")) {
response = httpUtil.getNotFound("The passport transfer was not completed!");
return httpUtil.buildResponse(response, httpResponse);
}

if (!status.historyExists("passport-received")) {
response = httpUtil.getNotFound("The passport is not available!");
return httpUtil.buildResponse(response, httpResponse);
Expand Down

0 comments on commit dd30d63

Please sign in to comment.