diff --git a/src/app/services/producto.service.ts b/src/app/services/producto.service.ts index 321e847..910c3be 100644 --- a/src/app/services/producto.service.ts +++ b/src/app/services/producto.service.ts @@ -20,7 +20,7 @@ export class ProductoService { return this.http.get(`${appSettings.apiUrl}/articulos`); } - setProductos(producto){ + setProductos(producto : Producto){ this.productos.push(producto); this.productosEvent.emit(this.productos);