Skip to content

Commit

Permalink
Remove length condition for trending tracks (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
hareeshnagaraj authored Oct 23, 2019
1 parent b034653 commit ae2cd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion identity-service/src/routes/trackListens.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}

Expand Down

0 comments on commit ae2cd72

Please sign in to comment.