mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-02 18:36:28 +00:00
Fix Style/VerboseBlock issues
This commit is contained in:
@@ -30,7 +30,7 @@ module Invidious::Routes::Channels
|
||||
end
|
||||
end
|
||||
items = items.select(&.is_a?(SearchPlaylist)).map(&.as(SearchPlaylist))
|
||||
items.each { |item| item.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 { |item| item.is_a?(SearchPlaylist) }.map { |item| item.as(SearchPlaylist) }
|
||||
items.each { |item| item.author = "" }
|
||||
items.each(&.author=(""))
|
||||
|
||||
templated "playlists"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user