diff --git a/pages/api/confirm-judging-sessions.ts b/pages/api/confirm-judging-sessions.ts index 55172686..c269e892 100644 --- a/pages/api/confirm-judging-sessions.ts +++ b/pages/api/confirm-judging-sessions.ts @@ -22,7 +22,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse< teamsByID.set(judgingSession.team._id.toString(), judgingSession.team); }); const allTeams = [...teamsByID.values()]; - allTeams.sort(team => new Date(team.createdAt).getTime()); + // allTeams.sort(team => new Date(team.createdAt).getTime()); const promises: any[] = []; [...allTeams.entries()].forEach(async ([i, team]) => {