Skip to content

Commit

Permalink
Merge pull request #620 from Travelport-Ukraine/master
Browse files Browse the repository at this point in the history
1.14.8 Fare basis fix
  • Loading branch information
dchertousov authored Mar 1, 2023
2 parents dd64ffc + c35e835 commit 91cc8cb
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.14.7",
"version": "1.14.8",
"description": "Travelport Universal API",
"main": "src/",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/utils/form-fare-basis-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = (airPricingInfo, coupon) => {
? `${coupon.FareBasis}/${couponTicketDesignator}`
: coupon.FareBasis;

if (!airPricingInfo) {
if (!airPricingInfo || !airPricingInfo['air:FareInfo']) {
return couponFareBasisResult;
}

Expand Down

0 comments on commit 91cc8cb

Please sign in to comment.