[promo] unused method is removed

This commit is contained in:
Arsentiy Milchakov 2019-11-05 11:52:04 +03:00 committed by Daria Volvenkova
parent 2d3aedcbfe
commit b6095dac4f
2 changed files with 0 additions and 16 deletions

View file

@ -224,15 +224,6 @@ std::string LoadPromoIdForBooking(eye::Eye::InfoType const & eyeInfo)
}
} // namespace
// static
bool WebApi::GetCityGalleryById(std::string const & baseUrl, std::string const & id,
std::string const & lang, std::string & result)
{
platform::HttpClient request(MakeCityGalleryUrl(baseUrl, id, lang));
request.SetRawHeaders(web_api::GetDefaultCatalogHeaders());
return request.RunHttpRequest(result);
}
Api::Api(std::string const & baseUrl /* = BOOKMARKS_CATALOG_FRONT_URL */,
std::string const & basePicturesUrl /* = PICTURES_URL */)
: m_baseUrl(baseUrl)

View file

@ -72,13 +72,6 @@ struct AfterBooking
std::string m_pictureUrl;
};
class WebApi
{
public:
static bool GetCityGalleryById(std::string const & baseUrl, std::string const & id,
std::string const & lang, std::string & result);
};
using CityGalleryCallback = platform::SafeCallback<void(CityGallery const & gallery)>;
using OnError = platform::SafeCallback<void()>;
using Tags = std::vector<std::string>;