Skip to content

Commit 15a3e54

Browse files
author
Oleksii
committed
hotfix-fare-basis-code: airPricingInfo condition check update
1 parent 2de2cfe commit 15a3e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)