enhance cisco meraki

This commit is contained in:
garnier-quentin 2020-05-05 17:55:09 +02:00 committed by Lotfi zaouche
parent b524cfe7fd
commit 258233ae72
1 changed files with 1 additions and 1 deletions
network/cisco/meraki/cloudcontroller/restapi/custom

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