Toku update output
This commit is contained in:
@ -155,10 +155,11 @@ class Toku extends Controller
|
|||||||
$output = [
|
$output = [
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
'input' => $input,
|
'input' => $input,
|
||||||
|
'output' => [],
|
||||||
'success' => false
|
'success' => false
|
||||||
];
|
];
|
||||||
try {
|
try {
|
||||||
$tokuService->update($input, $type);
|
$output['output'] = $tokuService->update($input, $type);
|
||||||
$output['success'] = true;
|
$output['success'] = true;
|
||||||
} catch (Exception $exception) {
|
} catch (Exception $exception) {
|
||||||
$this->logger->error($exception);
|
$this->logger->error($exception);
|
||||||
|
Reference in New Issue
Block a user