Skip to content

Commit 5c178a9

Browse files
committed
format
1 parent d132cdd commit 5c178a9

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/services/leaderboard/leaderboard-router.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,15 @@ leaderboardRouter.post(
117117
}
118118

119119
const leaderboard = await getDailyLeaderboard(day, n);
120-
120+
121121
// Use explicit user IDs if provided, otherwise use all users from leaderboard
122122
const userIdsForPromotion =
123123
userIdsToPromote || leaderboard.map((entry) => entry.userId);
124124

125-
const entriesProcessed =
126-
await promoteUsersToNextTier(userIdsForPromotion, day);
125+
const entriesProcessed = await promoteUsersToNextTier(
126+
userIdsForPromotion,
127+
day
128+
);
127129

128130
const { submissionId, submittedAt } = await recordLeaderboardSubmission(
129131
day,

0 commit comments

Comments
 (0)