Trending: de-duplicate results

このコミットが含まれているのは:
Samantaz Fox 2023-05-03 00:02:38 +02:00
コミット 90914343ec
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: F42821059186176E
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -35,5 +35,6 @@ def fetch_trending(trending_type, region, locale)
end
end
return extracted, plid
# Deduplicate items before returning results
return extracted.select(SearchVideo).uniq!(&.id), plid
end