mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Update src/invidious/routes/playlists.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
1adcac175e
commit
88ad7c8d8d
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ module Invidious::Routes::Playlists
|
||||||
if query
|
if query
|
||||||
begin
|
begin
|
||||||
search_query, count, items, operators = process_search_query(query, page, user, region: nil)
|
search_query, count, items, operators = process_search_query(query, page, user, region: nil)
|
||||||
videos = items.select(SearchVideo).map { |item| item.as(SearchVideo) }
|
videos = items.select(SearchVideo).map(&.as(SearchVideo))
|
||||||
rescue ex
|
rescue ex
|
||||||
videos = [] of SearchVideo
|
videos = [] of SearchVideo
|
||||||
count = 0
|
count = 0
|
||||||
|
|
Loading…
Reference in a new issue