enhance cisco meraki

This commit is contained in:
garnier-quentin 2020-05-05 17:55:09 +02:00 committed by Lotfi zaouche
parent aaeac22093
commit def50883ea
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ sub request_api {
my $content;
eval {
$content = JSON::XS->new->utf8->decode($response);
$content = JSON::XS->new->allow_nonref(1)->utf8->decode($response);
};
if ($@) {
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");