diff --git a/packages/Sarga/API/Http/Resources/Catalog/SuperAttribute.php b/packages/Sarga/API/Http/Resources/Catalog/SuperAttribute.php index c70ec572d..10863277b 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/SuperAttribute.php +++ b/packages/Sarga/API/Http/Resources/Catalog/SuperAttribute.php @@ -17,7 +17,7 @@ class SuperAttribute extends JsonResource return [ 'id' => $this->id, 'code' => $this->code, - 'name' => $this->name, + 'name' => $this->name ?? $this->admin_name, ]; } } \ No newline at end of file