FIX: Cuando no hay archivos en agregar imagen

This commit is contained in:
2020-06-16 22:55:41 -04:00
parent b943a21890
commit 50af0d7e9b

View File

@ -79,7 +79,7 @@ class Eventos {
if (count($files) == 0) {
$output = [
'informacion' => '',
'evento' => $e,
'evento' => $evento,
'estado' => false
];
$response->getBody()->write(json_encode($output));