Agregar datos propietario
This commit is contained in:
@ -10,6 +10,8 @@ use Incoviba\Common\Implement\Exception\EmptyRedis;
|
||||
use Incoviba\Common\Implement\Exception\EmptyResult;
|
||||
use Incoviba\Controller\withRedis;
|
||||
use Incoviba\Exception\ServiceAction\Read;
|
||||
use Incoviba\Exception\ServiceAction\Create;
|
||||
use Incoviba\Exception\ServiceAction\Update;
|
||||
use Incoviba\Model;
|
||||
use Incoviba\Repository;
|
||||
use Incoviba\Service;
|
||||
@ -334,7 +336,7 @@ class Ventas extends Controller
|
||||
$propietario = $propietarioService->edit($propietario, $data);
|
||||
}
|
||||
$output['edited'] = true;
|
||||
} catch (EmptyResult) {}
|
||||
} catch (EmptyResult|Read|Create|Update) {}
|
||||
return $this->withJson($response, $output);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user