fix return type

This commit is contained in:
m 2022-12-22 06:55:48 -06:00
parent f2632dc448
commit 729578e641

View File

@ -357,7 +357,7 @@ namespace party
nlohmann::json obj = get_whitelist_json_object(); nlohmann::json obj = get_whitelist_json_object();
if (obj == nullptr) if (obj == nullptr)
{ {
return false; return 0;
} }
obj.insert(obj.end(), target_ip_to_string(saved_info_response.host)); obj.insert(obj.end(), target_ip_to_string(saved_info_response.host));