fix return type
This commit is contained in:
parent
f2632dc448
commit
729578e641
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user