From e12ae154a7d57e483736e91687b08c4f388353ba Mon Sep 17 00:00:00 2001 From: gc <30398469+gc@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:03:44 +1100 Subject: [PATCH] Fix skill lb order --- src/mahoji/commands/leaderboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mahoji/commands/leaderboard.ts b/src/mahoji/commands/leaderboard.ts index e09deec9f7..4cace6e0ed 100644 --- a/src/mahoji/commands/leaderboard.ts +++ b/src/mahoji/commands/leaderboard.ts @@ -537,7 +537,7 @@ async function skillsLb( const events = await prisma.userEvent.findMany({ where: { - type: 'MaxLevel', + type: 'MaxXP', skill: skill.id }, orderBy: {