fix
This commit is contained in:
@@ -77,7 +77,7 @@ public function grouped($id)
|
||||
return response()->json([
|
||||
'category' => [
|
||||
'id' => $category->id,
|
||||
'title' => $category->name,
|
||||
'name' => $category->name,
|
||||
'description' => $category->description,
|
||||
'icon_url' => $category->icon_url,
|
||||
'type' => $category->type,
|
||||
@@ -85,7 +85,7 @@ public function grouped($id)
|
||||
'sub_categories' => $category->subcategories->map(fn ($sub) => [
|
||||
'sub_category' => [
|
||||
'id' => $sub->id,
|
||||
'title' => $sub->name,
|
||||
'name' => $sub->name,
|
||||
'description' => $sub->description,
|
||||
],
|
||||
'medias' => $sub->media,
|
||||
|
||||
Reference in New Issue
Block a user