FIX: no se podia cargar imagenes

This commit is contained in:
2020-05-31 11:59:40 -04:00
parent cb08e0af64
commit 26bd5207f3
3 changed files with 16 additions and 15 deletions

View File

@ -285,7 +285,7 @@ class Productos {
$status = $producto->addImagen($file);
$output = [
'informacion' => $id,
'informacion' => $producto->id,
'estado' => $status
];
$response->getBody()->write(json_encode($output));