sarga filters

This commit is contained in:
merdan 2022-05-04 15:22:26 +05:00
parent 76d0495fbc
commit a30a4bbb3c
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Attribute extends JsonResource
'id' => $this->id,
'code' => $this->code,
'name' => $this->name ?? $this->admin_name,
'options' => AttributeOption::collection($this->options),
'options' => AttributeOption::collection($this->options()->take(40)->get()),
];
}