Skip to content

Commit

Permalink
Merge pull request #634 from Travelport-Ukraine/TC-3489
Browse files Browse the repository at this point in the history
Tc 3489
  • Loading branch information
dchertousov authored Jun 7, 2023
2 parents 8617274 + c908c20 commit 9196581
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Air/availability.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const params = {
},
permittedCarriers: ['LO'],
cabins: ['Economy'], // ['Business'],
bookingCode: 'Y',
bookingCodes: ['Q', 'G'],
requestId: '4e2fd1f8-2221-4b6c-bb6e-cf05c367cf60',
// permittedConnectionPoints: ['AMS'],
// preferredConnectionPoints: ['KBP'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ module.exports = `
{{/each}}
</air:PreferredCabins>
{{/if}}
{{#if ../bookingCode}}
{{#if ../bookingCodes}}
<air:PermittedBookingCodes>
<air:BookingCode Code="{{../bookingCode}}" />
{{#each ../bookingCodes}}
<air:BookingCode Code="{{this}}"/>
{{/each}}
</air:PermittedBookingCodes>
{{/if}}
</air:AirLegModifiers>
Expand Down

0 comments on commit 9196581

Please sign in to comment.