Trending: de-duplicate results

pull/3781/head
Samantaz Fox 2 years ago
parent 384a8e200c
commit 90914343ec
No known key found for this signature in database
GPG Key ID: F42821059186176E

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

Loading…
Cancel
Save