docs(cgi-bin): rename hash->response_body in set_power

main
Tsu-ba-me 4 years ago
parent 540129bb8f
commit fae1c72986
  1. 4
      cgi-bin/set_power

@ -137,7 +137,7 @@ $anvil->Database->get_anvils();
print $anvil->Template->get({file => "shared.html", name => "json_headers", show_name => 0})."\n";
my $hash = {};
my $response_body = {};
# Decode request body (JSON string) to a hash
my $request_body;
@ -239,4 +239,4 @@ elsif ($host_uuid)
}
}
print JSON->new->utf8->encode($hash)."\n";
print JSON->new->utf8->encode($response_body)."\n";

Loading…
Cancel
Save