Skip to content

Commit c35e835

Browse files
authored
Merge pull request #619 from Travelport-Ukraine/hotfix-fare-basis-code
hotfix-fare-basis-code: airPricingInfo condition check update
2 parents 2de2cfe + 37891e6 commit c35e835

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)