feat: exclude attributes from product list response in ProductController
This commit is contained in:
@@ -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')),
|
||||
|
||||
Reference in New Issue
Block a user