Skip to content

Commit

Permalink
Merge pull request #567 from Travelport-Ukraine/master
Browse files Browse the repository at this point in the history
1.12.2 AVIOSHINE — 1122
  • Loading branch information
dchertousov authored Mar 16, 2022
2 parents 92e20fd + 0b8c9b7 commit a42ebbb
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 a42ebbb

Please sign in to comment.