Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsentiy Milchakov <milcars@mapswithme.com>2020-08-24 16:19:51 +0300
committerAnatoliy V. Tomilov <tomilov@users.noreply.github.com>2020-08-24 16:23:08 +0300
commite5fa126d45738d35d958f9f592eecac39ec1d69f (patch)
treeeda95cff8fa8b37f36c0cd8428cbd906604d3e75
parentdc4e8f67a5106e5b9e44268c06fce38dce63f49b (diff)
[purchase] do not check validation flag when success http code is received (for transaction requests this field is not provided from the server).gen_10.2.0
-rw-r--r--map/purchase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/map/purchase.cpp b/map/purchase.cpp
index b5cb603c52..bd3061b686 100644
--- a/map/purchase.cpp
+++ b/map/purchase.cpp
@@ -319,8 +319,7 @@ void Purchase::ValidateImpl(std::string const & url, ValidationInfo const & vali
if (resultCode >= 200 && resultCode < 300)
{
result = DeserializeResponse(request.ServerResponse(), resultCode);
- if (result.m_isValid)
- code = ValidationCode::Verified;
+ code = ValidationCode::Verified;
}
else if (resultCode == 403)
{