From be5f0ab7807cdf648457d9874fabc97bedcdd3c7 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 29 Oct 2024 19:36:11 +0000 Subject: [PATCH] testing --- projects/backend/src/service/score.service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/backend/src/service/score.service.ts b/projects/backend/src/service/score.service.ts index 923a8ba..136b21f 100644 --- a/projects/backend/src/service/score.service.ts +++ b/projects/backend/src/service/score.service.ts @@ -326,7 +326,6 @@ export class ScoreService { const date: Date = daysAgo == -1 ? new Date(0) : getDaysAgoDate(daysAgo); const foundScores = await ScoreSaberScoreModel.aggregate([ { $match: { timestamp: { $gte: date } } }, - { $sort: { timestamp: -1 } }, { $group: { _id: { leaderboardId: "$leaderboardId", playerId: "$playerId" },