From 2262754eafb09ffb30f2b61aadd9f7bb3730dc88 Mon Sep 17 00:00:00 2001 From: "edu.corral" Date: Tue, 11 Oct 2022 11:46:02 +0200 Subject: [PATCH] ent 9098 insert_gis_data --- pandora_server/util/pandora_manage.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 1539d1f5ee..0778658e2f 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -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 "; -} \ No newline at end of file +}