updated webgui to run with Config::JSON 2.04
This commit is contained in:
parent
fb434a8b3a
commit
34fd8c9245
20 changed files with 56 additions and 51 deletions
|
|
@ -152,7 +152,7 @@ sub loadSiteData {
|
|||
}
|
||||
else {
|
||||
my $siteData = {};
|
||||
eval { $siteData = JSON::jsonToObj($response->content); };
|
||||
eval { $siteData = JSON::from_json($response->content); };
|
||||
if ($@) {
|
||||
$self->error("Couldn't fetch Spectre configuration data for $key");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue