Skip to content

Commit

Permalink
Merge pull request #113 from catenax-ng/main
Browse files Browse the repository at this point in the history
Update develop
  • Loading branch information
matbmoser authored Jul 4, 2023
2 parents 1a79c35 + dd30d63 commit 376e5ab
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 376e5ab

Please sign in to comment.