修正挑战模式下, 排行榜无法正确获取的bug

This commit is contained in:
zhl 2021-05-19 18:47:46 +08:00
parent f00030a2e1
commit c2325eb539
2 changed files with 3 additions and 2 deletions

View File

@ -326,3 +326,4 @@
}
}
```

View File

@ -166,7 +166,7 @@ export async function updateExamRank({shop, level, accountId, score, session, mo
score: number,
mode: number,
session: string}) {
const totalKey = rankKey(shop, 'exam', mode)
const totalKey = rankKey(shop, level, mode)
await updateRank(accountId, score, totalKey)
}