feat: playlist out of its object in by id

This commit is contained in:
2026-06-14 13:57:11 +03:30
parent 65bd416599
commit 5ec95f539b
@@ -99,7 +99,7 @@ public function show($id)
->paginate(15);
return response()->json([
'playlist' => $playlist,
$playlist,
'statistics' => [
'total_musics' => $playlist->musics->count(),
'total_duration' => $playlist->total_duration,