diff --git a/packages/Sarga/API/Http/Resources/Catalog/AttributeOption.php b/packages/Sarga/API/Http/Resources/Catalog/AttributeOption.php index 5e5173688..7e3d81d8a 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/AttributeOption.php +++ b/packages/Sarga/API/Http/Resources/Catalog/AttributeOption.php @@ -18,8 +18,9 @@ class AttributeOption extends JsonResource 'id' => $this->id, 'admin_name' => $this->admin_name, 'label' => $this->label, -// 'swatch_value' => $this->swatch_value, - 'image' => $this->swatch_value_url + 'swatch_value' => $this->swatch_value, + 'image' => $this->swatch_value_url, + 'attribute_id' => $this->attribute_id ]; } } \ No newline at end of file