mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-23 09:55:29 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user