mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-04 06:31:57 +00:00 
			
		
		
		
	Update src/invidious/routes/playlists.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
		@@ -245,7 +245,7 @@ module Invidious::Routes::Playlists
 | 
			
		||||
    if query
 | 
			
		||||
      begin
 | 
			
		||||
        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
 | 
			
		||||
        videos = [] of SearchVideo
 | 
			
		||||
        count = 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user