mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix watch_videos
endpoint
Playlists created by `watch_videos` do not have an author which caused a crash previously.
This commit is contained in:
parent
8b56a038b7
commit
36e9fb9d68
2 changed files with 18 additions and 8 deletions
|
@ -2621,6 +2621,8 @@ end
|
|||
|
||||
begin
|
||||
playlist = get_playlist(PG_DB, plid, locale)
|
||||
rescue ex : InfoException
|
||||
next error_json(404, ex)
|
||||
rescue ex
|
||||
next error_json(404, "Playlist does not exist.")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue