|
|
|
@ -474,9 +474,10 @@ class Heytrip {
|
|
|
|
|
const hotelRoomsMappedByLgc = groupBy(_hotelRooms, 'lgc');
|
|
|
|
|
const roomRes = hotelRoomsMappedByLgc['2'] || hotelRoomsMappedByLgc['1'];
|
|
|
|
|
const roomMappedByID = (roomRes || []).reduce((rr, c) => ({...rr, [c.room_id]: c}), {});
|
|
|
|
|
const langIfCN = Number(hotel_id) > 20000000 ? 'zh-CN' : 'en-US';
|
|
|
|
|
|
|
|
|
|
const paramBody = {
|
|
|
|
|
Language: 'en-US',
|
|
|
|
|
Language: langIfCN,
|
|
|
|
|
// Language: 'zh-CN',
|
|
|
|
|
AccommodationIds: [Number(hotel_id)],
|
|
|
|
|
CheckInDate: checkin,
|
|
|
|
|