From 1adcac175e357853af1014b9e1bc792e11c7e8de Mon Sep 17 00:00:00 2001 From: syeopite <70992037+syeopite@users.noreply.github.com> Date: Sun, 26 Sep 2021 21:55:15 +0000 Subject: [PATCH] Update src/invidious/routes/channels.cr Co-authored-by: Samantaz Fox --- src/invidious/routes/channels.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/routes/channels.cr b/src/invidious/routes/channels.cr index 619159a27..13beca17d 100644 --- a/src/invidious/routes/channels.cr +++ b/src/invidious/routes/channels.cr @@ -57,7 +57,7 @@ module Invidious::Routes::Channels end items, continuation = fetch_channel_playlists(channel.ucid, channel.author, continuation, sort_by) - items = items.select(SearchPlaylist).map { |item| item.as(SearchPlaylist) } + items = items.select(SearchPlaylist).map(&.as(SearchPlaylist)) items.each(&.author=("")) templated "playlists"