diff --git a/src/utils/pipeline.js b/src/utils/pipeline.js index 5a44800..611a3a7 100644 --- a/src/utils/pipeline.js +++ b/src/utils/pipeline.js @@ -461,6 +461,7 @@ const getCompetitionWeeks = (limit, offset, searchTerm, week, channelName) => { const getScoresByPlayer = (username) => { const pipeline = [ + { $match: { "authors.versions.scores.username": username } }, { $unwind: "$authors" }, { $unwind: {