diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2020-08-24 16:19:51 +0300 |
---|---|---|
committer | Anatoliy V. Tomilov <tomilov@users.noreply.github.com> | 2020-08-24 16:23:08 +0300 |
commit | e5fa126d45738d35d958f9f592eecac39ec1d69f (patch) | |
tree | eda95cff8fa8b37f36c0cd8428cbd906604d3e75 | |
parent | dc4e8f67a5106e5b9e44268c06fce38dce63f49b (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.cpp | 3 |
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) { |