diff --git a/app/Endpoint/Api/Http/Resources/StoreProductResource.php b/app/Endpoint/Api/Http/Resources/StoreProductResource.php index e5f387c0..f0dcf64e 100644 --- a/app/Endpoint/Api/Http/Resources/StoreProductResource.php +++ b/app/Endpoint/Api/Http/Resources/StoreProductResource.php @@ -15,7 +15,8 @@ class StoreProductResource extends JsonResource 'sell_price' => (string) $this->sell_price_format, 'vip_price' => (string) $this->vip_price_format, 'market_price' => (string) $this->market_price_format, - 'amount' => (int) $this->pivot->amount + 'amount' => (int) $this->pivot->amount, + 'specs' => (array) $this->specs, ]; } }