feat: add type

This commit is contained in:
2026-06-12 20:13:52 +03:30
parent f2e9adf7f1
commit b3ce699159
2 changed files with 2 additions and 0 deletions
@@ -110,6 +110,7 @@ public function grouped($id)
'title' => $category->name,
'description' => $category->description,
'image_url' => $category->image?->url,
'type' => 'playlist',
],
'sub_categories' => $category->subcategories->map(fn ($sub) => [
'sub_category' => [