enhance cisco meraki

This commit is contained in:
garnier-quentin 2020-05-05 17:55:09 +02:00
parent a1293971e0
commit 2b755bae1a

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: $@");