From 0abbc30eabd3947c51b574bb110f30bfe3a4d221 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Wed, 27 Mar 2019 22:53:56 +0300 Subject: [PATCH] [booking] added possibility to use stage server for extended info loading --- partners_api/booking_api.cpp | 2 +- private_default.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/partners_api/booking_api.cpp b/partners_api/booking_api.cpp index 56583812f5..48258aa7c0 100644 --- a/partners_api/booking_api.cpp +++ b/partners_api/booking_api.cpp @@ -31,7 +31,7 @@ namespace { string const kBookingApiBaseUrlV1 = "https://distribution-xml.booking.com/json/bookings"; string const kBookingApiBaseUrlV2 = "https://distribution-xml.booking.com/2.0/json"; -string const kExtendedHotelInfoBaseUrl = "https://hotels.maps.me/getDescription"; +string const kExtendedHotelInfoBaseUrl = BOOKING_EXTENDED_INFO_BASE_URL; string const kPhotoOriginalUrl = "http://aff.bstatic.com/images/hotel/max500/"; string const kPhotoSmallUrl = "http://aff.bstatic.com/images/hotel/max300/"; string const kSearchBaseUrl = "https://www.booking.com/search.html"; diff --git a/private_default.h b/private_default.h index 8aecdac99a..6984fe4310 100644 --- a/private_default.h +++ b/private_default.h @@ -24,6 +24,7 @@ #define BOOKING_AFFILIATE_ID "" #define BOOKING_KEY "" #define BOOKING_SECRET "" +#define BOOKING_EXTENDED_INFO_BASE_URL "" #define UBER_SERVER_TOKEN "" #define UBER_CLIENT_ID "" #define OPENTABLE_AFFILATE_ID ""