[android] Updated catalog gallery version

This commit is contained in:
Александр Зацепин 2019-12-12 18:29:40 +03:00 committed by Arsentiy Milchakov
parent 6b76d36ef5
commit 80d6b4127b

View file

@ -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)