diff --git a/identity-service/src/routes/trackListens.js b/identity-service/src/routes/trackListens.js index 139d3a75c88..c7438a253df 100644 --- a/identity-service/src/routes/trackListens.js +++ b/identity-service/src/routes/trackListens.js @@ -148,7 +148,7 @@ const getTrendingTracks = async ( } // If id list present, add filter - if (idList && idList.length > 0) { + if (idList) { dbQuery.where.trackId = { [models.Sequelize.Op.in]: idList } }