gitlab credential test

This commit is contained in:
yviter 2021-12-03 17:04:32 +02:00
parent cbf791ccbe
commit 87d685f254

View file

@ -840,7 +840,7 @@ std::string rpc_client::retrieve_array_value_from_reply(std::string reply_str, s
boost::property_tree::ptree json;
boost::property_tree::read_json(ss, json);
if (json.find("result") == json.not_found()) {
return std::string();
return std::string();
}
auto json_result = json.get_child("result");
if (json_result.find(array_path) == json_result.not_found()) {