Review fixes

This commit is contained in:
r.kuznetsov 2018-11-29 18:29:34 +03:00 committed by Olesia Bolovintseva
parent a00b35568e
commit 5f6929b1dc

View file

@ -502,12 +502,7 @@ void User::RequestBasicUserDetails(std::string const & accessToken,
if (onSuccess)
onSuccess(accessToken);
},
[onError = std::move(onError)](int code, std::string const & response)
{
if (onError)
onError(code, response);
});
}, onError);
});
}