From 80d6b4127bcc32170adf660d1b2f22f97538250e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B0=D1=86=D0=B5=D0=BF=D0=B8=D0=BD?= Date: Thu, 12 Dec 2019 18:29:40 +0300 Subject: [PATCH] [android] Updated catalog gallery version --- partners_api/promo_api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/partners_api/promo_api.cpp b/partners_api/promo_api.cpp index 59f9a6627a..4b66bd1fdb 100644 --- a/partners_api/promo_api.cpp +++ b/partners_api/promo_api.cpp @@ -118,7 +118,7 @@ std::string MakeCityGalleryUrl(std::string const & baseUrl, std::string const & ASSERT_EQUAL(baseUrl.back(), '/', ()); url::Params params = {{"city_id", ToSignedId(id)}, {"lang", lang}}; - return url::Make(url::Join(baseUrl, "gallery/v1/search/"), params); + return url::Make(url::Join(baseUrl, "gallery/v2/search/"), params); } std::string MakePoiGalleryUrl(std::string const & baseUrl, std::string const & id, @@ -145,7 +145,7 @@ std::string MakePoiGalleryUrl(std::string const & baseUrl, std::string const & i params.emplace_back("tags", strings::JoinStrings(tags, ",")); params.emplace_back("lang", lang); - return url::Make(url::Join(baseUrl, "gallery/v1/search/"), params); + return url::Make(url::Join(baseUrl, "gallery/v2/search/"), params); } std::string GetPictureUrl(std::string const & baseUrl, std::string const & id)