sources api

This commit is contained in:
merdan 2022-09-27 16:53:08 +05:00
parent a2e0ec42a5
commit e1de6887a3
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
namespace Sarga\API\Http\Resources\Catalog;
use Illuminate\Http\Resources\Json\JsonResource;
use Sarga\API\Http\Controllers\Brands;
class Menu extends JsonResource
{
@ -21,7 +21,7 @@ class Menu extends JsonResource
'filter' => $this->filter,
'description' => $this->description,
'categories' => Category::collection($this->categories),
'brands' => Brands::collection($this->brands)
'brands' => Brand::collection($this->brands)
];
}