ti2-tourplan 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -618,7 +618,7 @@ class Plugin {
|
|
|
618
618
|
RateId: 'Default',
|
|
619
619
|
SCUqty: chargeUnitQuanity || 1,
|
|
620
620
|
AgentRef: reference,
|
|
621
|
-
RoomConfigs: this.
|
|
621
|
+
RoomConfigs: this.getPaxConfigs(paxConfigs),
|
|
622
622
|
},
|
|
623
623
|
};
|
|
624
624
|
const replyObj = await this.callTourplan({
|
|
@@ -690,11 +690,8 @@ class Plugin {
|
|
|
690
690
|
try {
|
|
691
691
|
reply = await this.callTourplan(getPayload('ListBookingsRequest', { [key]: bookingId }));
|
|
692
692
|
} catch (err) {
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
} else {
|
|
696
|
-
throw err;
|
|
697
|
-
}
|
|
693
|
+
console.log('error in searchBooking', err);
|
|
694
|
+
reply = { ListBookingsReply: { BookingHeaders: { BookingHeader: [] } } };
|
|
698
695
|
}
|
|
699
696
|
return reply;
|
|
700
697
|
})
|