From fae1c7298605cd9e5924208118cb004b3068f2ef Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 18 May 2021 18:55:24 -0400 Subject: [PATCH] docs(cgi-bin): rename hash->response_body in set_power --- cgi-bin/set_power | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi-bin/set_power b/cgi-bin/set_power index 27745471..ead7b348 100755 --- a/cgi-bin/set_power +++ b/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";