diff --git a/package-lock.json b/package-lock.json index a67feecb..77efcbf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "uapi-json", - "version": "1.14.7", + "version": "1.14.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 73d2701c..76ed3b69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "uapi-json", - "version": "1.14.7", + "version": "1.14.8", "description": "Travelport Universal API", "main": "src/", "files": [ diff --git a/src/utils/form-fare-basis-code.js b/src/utils/form-fare-basis-code.js index 0b95d3df..b7c2a60f 100644 --- a/src/utils/form-fare-basis-code.js +++ b/src/utils/form-fare-basis-code.js @@ -5,7 +5,7 @@ module.exports = (airPricingInfo, coupon) => { ? `${coupon.FareBasis}/${couponTicketDesignator}` : coupon.FareBasis; - if (!airPricingInfo) { + if (!airPricingInfo || !airPricingInfo['air:FareInfo']) { return couponFareBasisResult; }