Reduce block verbosity further

This commit is contained in:
syeopite
2021-09-26 14:58:48 -07:00
parent b8f27a42a7
commit 17e481c107
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ module Invidious::Routes::Channels
end
end
items = items.select(SearchPlaylist).map(&.as(SearchPlaylist))
items.each(&.author=(""))
items.each(&.author = "")
else
sort_options = {"newest", "oldest", "popular"}
sort_by ||= "newest"
@@ -58,7 +58,7 @@ module Invidious::Routes::Channels
items, continuation = fetch_channel_playlists(channel.ucid, channel.author, continuation, sort_by)
items = items.select(SearchPlaylist).map(&.as(SearchPlaylist))
items.each(&.author=(""))
items.each(&.author = "")
templated "playlists"
end