modified version update

This commit is contained in:
tracer 2024-04-30 14:11:54 +02:00
parent 514c77de55
commit efb069eb5a
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"name": "24unix/bindapi",
"description": "manage Bind9 DNS server via REST API",
"version": "1.0.9",
"build_number": "367",
"build_number": "368",
"authors": [
{
"name": "Micha Espey",

View File

@ -712,9 +712,7 @@ class RequestController
'response' => $this->response
]);
} elseif (!empty($this->result)) {
echo json_encode(value: [
'result' => $this->result
]);
echo json_encode(value: $this->result);
} elseif (!empty($this->message)) {
echo json_encode(value: [
'message' => $this->message