invidious/src
Samantaz Fox 4f60feee17
API: Fix out of bound error on empty playlists (#4696)
Before this PR, Invidious assumed that every playlist had at least one video.
When a playlist had no videos, Invidious was throwing an "Index out of bounds"
exception.

The following API endpoints were impacted:
* api/v1/playlists/:plid
* api/v1/auth/playlists/:plid

Fixes issue 4679
2024-07-21 17:24:01 +02:00
..
ext StaticFileHandler: use HTTP::Status rather than integers 2022-08-15 13:22:39 +02:00
invidious API: Fix out of bound error on empty playlists (#4696) 2024-07-21 17:24:01 +02:00
invidious.cr API: Add APIHandler back 2024-02-13 21:05:26 +01:00