Skip to content

Commit

Permalink
Merge pull request #566 from Travelport-Ukraine/TC-3004
Browse files Browse the repository at this point in the history
TC-3004: added Host error during ticket error as exception to pass Er…
  • Loading branch information
dchertousov authored Mar 16, 2022
2 parents 59f7918 + 8f15f0d commit 0b8c9b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uapi-json",
"version": "1.12.1",
"version": "1.12.2",
"description": "Travelport Universal API",
"main": "src/",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Air/AirParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ const airGetTicket = function (obj, parseParams = {
processUAPIError.call(this, obj, 'Unable to retrieve ticket');
}

if (responseMessages.some(({ Type }) => (Type === 'Error'))) {
if (responseMessages.some(({ Type, Code }) => (Type === 'Error' && Code !== '12009'))) {
processUAPIError.call(this, obj, 'Unable to retrieve ticket');
}

Expand Down

0 comments on commit 0b8c9b7

Please sign in to comment.