diff --git a/map/booking_api.cpp b/map/booking_api.cpp index 78fe0c0152..4985f7ab8d 100644 --- a/map/booking_api.cpp +++ b/map/booking_api.cpp @@ -150,7 +150,11 @@ void BookingApi::GetHotelInfo(string const & hotelId, string const & /* lang */, "http://storage8.static.itmages.ru/i/16/0915/h_1473944905_4312757_433c687f4d.jpg", "http://storage6.static.itmages.ru/i/16/0915/h_1473945191_1817571_b945aa1f3e.jpg"}); - info.m_facilities = {"Non smoking rooms", "Gym", "Pets are allowed"}; + info.m_facilities = { + {"non_smoking_rooms", "Non smoking rooms"}, + {"gym", "Training gym"}, + {"pets_are_allowed", "Pets are allowed"} + }; info.m_reviews = { { diff --git a/map/booking_api.hpp b/map/booking_api.hpp index 2c41789c1d..bec7c4f1ba 100644 --- a/map/booking_api.hpp +++ b/map/booking_api.hpp @@ -57,13 +57,19 @@ public: time_point m_date; }; + struct Facility + { + string m_id; + string m_localizedName; + }; + struct HotelInfo { string m_hotelId; string m_description; vector m_photos; - vector m_facilities; + vector m_facilities; vector m_reviews; };