diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-09-22 11:34:29 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-09-22 11:34:29 -0500 |
| commit | d8b7c0750a6e04176116337ddebb36b26d1525fd (patch) | |
| tree | fd35da5096b70294ebeffa0b58439e831bf3530f | |
| parent | 1ab04638e353bea7824de51b19f0be4ca73cf765 (diff) | |
| download | invidious-d8b7c0750a6e04176116337ddebb36b26d1525fd.tar.gz invidious-d8b7c0750a6e04176116337ddebb36b26d1525fd.tar.bz2 invidious-d8b7c0750a6e04176116337ddebb36b26d1525fd.zip | |
Fix name of playlist resource
| -rw-r--r-- | src/invidious.cr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 1cb1ca7e..6df2ee78 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2834,7 +2834,7 @@ get "/api/v1/playlists/:plid" do |env| response = JSON.build do |json| json.object do json.field "title", playlist.title - json.field "id", playlist.id + json.field "playlistId", playlist.id json.field "author", playlist.author json.field "authorId", playlist.ucid @@ -2852,7 +2852,7 @@ get "/api/v1/playlists/:plid" do |env| videos.each do |video| json.object do json.field "title", video.title - json.field "id", video.id + json.field "videoId", video.id json.field "author", video.author json.field "authorId", video.ucid |
