feat: exclude attributes from product list response in ProductController

This commit is contained in:
2026-06-30 11:18:53 -03:00
parent 72261bf422
commit 8b10996319

View File

@@ -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')),