modified version update
This commit is contained in:
parent
514c77de55
commit
efb069eb5a
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user