Fix Performance/ChainedCallWithNoBang issues

This commit is contained in:
syeopite
2021-09-24 19:50:56 -07:00
parent e91421253e
commit e969c1490a
4 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ class Invidious::Jobs::PullPopularVideosJob < Invidious::Jobs::BaseJob
loop do
videos = db.query_all(QUERY, as: ChannelVideo)
.sort_by(&.published)
.reverse
.reverse!
POPULAR_VIDEOS.set(videos)