Lowered the tollerance for what objects we choose to look at by tmdb.… #55
@@ -37,7 +37,7 @@ class TMDB {
|
|||||||
.then((response) => {
|
.then((response) => {
|
||||||
try {
|
try {
|
||||||
let filteredTmdbItems = response.results.filter(function(tmdbResultItem) {
|
let filteredTmdbItems = response.results.filter(function(tmdbResultItem) {
|
||||||
return ((tmdbResultItem.vote_count >= 40 || tmdbResultItem.popularity > 8) && (tmdbResultItem.release_date !== undefined || tmdbResultItem.first_air_date !== undefined))
|
return ((tmdbResultItem.vote_count >= 10 || tmdbResultItem.popularity > 2) && (tmdbResultItem.release_date !== undefined || tmdbResultItem.first_air_date !== undefined))
|
||||||
})
|
})
|
||||||
|
|
||||||
let seasonedItems = filteredTmdbItems.map((tmdbItem) => {
|
let seasonedItems = filteredTmdbItems.map((tmdbItem) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user