[F] Fix username mismatch

This commit is contained in:
Azalea
2025-01-05 04:39:11 -05:00
parent a70e9130f5
commit 6cfd0a91fc
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ fun ChusanController.chusanInit() {
val recent = db.netBattleLog.findTop20ByUserOrderByIdDesc(u)
mapOf("userId" to uid, "userNetBattleData" to mapOf(
"recentNBSelectMusicList" to (misc?.recentNbSelect ?: empty),
"recentNBMusicList" to recent.map { it.toDict() },
"recentNBMusicList" to recent.map { it.toDict(u.userName) },
))
}
"GetUserNetBattleRankingInfo" { """{"userId":"${data["userId"]}","length":"0","userNetBattleRankingInfoList":{}}""" }