modified version update
This commit is contained in:
parent
514c77de55
commit
efb069eb5a
|
@ -2,7 +2,7 @@
|
||||||
"name": "24unix/bindapi",
|
"name": "24unix/bindapi",
|
||||||
"description": "manage Bind9 DNS server via REST API",
|
"description": "manage Bind9 DNS server via REST API",
|
||||||
"version": "1.0.9",
|
"version": "1.0.9",
|
||||||
"build_number": "367",
|
"build_number": "368",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Micha Espey",
|
"name": "Micha Espey",
|
||||||
|
|
|
@ -712,9 +712,7 @@ class RequestController
|
||||||
'response' => $this->response
|
'response' => $this->response
|
||||||
]);
|
]);
|
||||||
} elseif (!empty($this->result)) {
|
} elseif (!empty($this->result)) {
|
||||||
echo json_encode(value: [
|
echo json_encode(value: $this->result);
|
||||||
'result' => $this->result
|
|
||||||
]);
|
|
||||||
} elseif (!empty($this->message)) {
|
} elseif (!empty($this->message)) {
|
||||||
echo json_encode(value: [
|
echo json_encode(value: [
|
||||||
'message' => $this->message
|
'message' => $this->message
|
||||||
|
|
Loading…
Reference in New Issue