Skip to content

Commit

Permalink
[purchase] do not check validation flag when success http code is rec…
Browse files Browse the repository at this point in the history
…eived (for transaction requests this field is not provided from the server).
  • Loading branch information
Arsentiy Milchakov authored and tomilov committed Aug 24, 2020
1 parent dc4e8f6 commit e5fa126
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions map/purchase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e5fa126

Please sign in to comment.