Skip to content

Commit 91cc8cb

Browse files
authored
Merge pull request #620 from Travelport-Ukraine/master
1.14.8 Fare basis fix
2 parents dd64ffc + c35e835 commit 91cc8cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uapi-json",
3-
"version": "1.14.7",
3+
"version": "1.14.8",
44
"description": "Travelport Universal API",
55
"main": "src/",
66
"files": [

src/utils/form-fare-basis-code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = (airPricingInfo, coupon) => {
55
? `${coupon.FareBasis}/${couponTicketDesignator}`
66
: coupon.FareBasis;
77

8-
if (!airPricingInfo) {
8+
if (!airPricingInfo || !airPricingInfo['air:FareInfo']) {
99
return couponFareBasisResult;
1010
}
1111

0 commit comments

Comments
 (0)