ent 9098 insert_gis_data

This commit is contained in:
edu.corral 2022-10-11 11:46:02 +02:00
parent 1e590728aa
commit 2262754eaf

View File

@ -266,7 +266,7 @@ sub help_screen{
sub api_call($$$;$$$$) {
my ($pa_config, $op, $op2, $id, $id2, $other, $return_type) = @_;
my $content = undef;
eval {
# Set the parameters for the POST request.
my $params = {};
@ -294,7 +294,7 @@ sub api_call($$$;$$$$) {
$content = $response->decoded_content();
}
};
return $content;
}
@ -8054,7 +8054,7 @@ sub pandora_manage_main ($$$) {
cli_get_gis_agent();
}
elsif ($param eq '--insert_gis_data'){
# param_check($ltotal, 4, 0);
param_check($ltotal, 4, 0);
cli_insert_gis_data();
}
else {
@ -8805,4 +8805,4 @@ sub cli_insert_gis_data(){
my $result = api_call(\%conf,'set', 'gis_agent_only_position', $agent_id, undef, "$other");
print "$result \n\n ";
}
}