feat: exclude attributes from product list response in ProductController
This commit is contained in:
parent
72261bf422
commit
8b10996319
|
|
@ -20,7 +20,6 @@ class ProductVariantResource extends JsonResource
|
|||
'producto_id' => $this->producto_id,
|
||||
'slug' => $this->slug,
|
||||
'nombre' => $this->nombre,
|
||||
'stock' => $this->stock,
|
||||
'descripcion' => $this->descripcion,
|
||||
'precio' => $this->precio,
|
||||
'product' => ProductResource::make($this->whenLoaded('product')),
|
||||
|
|
|
|||
Loading…
Reference in New Issue