Allow nonref for debian 9

[ci skip]
pull/5941/head
Oliver Günther 7 years ago
parent 9f237b407b
commit 714775fe74
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 6
      extra/Apache/OpenProjectRepoman.pm

@ -90,7 +90,8 @@ sub parse_request {
$content .= $buf;
}
return decode_json($content);
my $json = JSON->new->allow_blessed->allow_nonref->convert_blessed;
return $json->decode($content);
}
##
@ -191,7 +192,8 @@ sub handler {
};
print encode_json($response);
my $json = JSON->new->allow_blessed->allow_nonref->convert_blessed;
print $json->encode($response);
return Apache2::Const::OK;
}

Loading…
Cancel
Save