mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 21:18:00 +01:00
Added description and lyrics to radio API
This commit is contained in:
parent
a91d8cb259
commit
010836e69d
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@
|
||||||
return Response::json([
|
return Response::json([
|
||||||
'id' => $track->id,
|
'id' => $track->id,
|
||||||
'title' => $track->title,
|
'title' => $track->title,
|
||||||
|
'description' => $track->description,
|
||||||
|
'lyrics' => $track->lyrics,
|
||||||
'user' => [
|
'user' => [
|
||||||
'id' => $track->user->id,
|
'id' => $track->user->id,
|
||||||
'name' => $track->user->display_name,
|
'name' => $track->user->display_name,
|
||||||
|
|
Loading…
Reference in a new issue