[F] Fix maimai2 user item

This commit is contained in:
Azalea 2024-03-26 20:22:38 -04:00
parent d2cf16d046
commit d533df52de

View File

@ -70,9 +70,14 @@ class GetUserItemHandler(
) )
} }
return repos.userItem.findByUserCardExtIdAndItemKind(userId, kind).apply { return mapOf(
forEach { it.isValid = true } "userId" to userId,
logger.info("Response: $size $kindType items - DB") } "nextIndex" to 0,
"itemKind" to kind,
"userItemList" to repos.userItem.findByUserCardExtIdAndItemKind(userId, kind).apply {
forEach { it.isValid = true }
logger.info("Response: $size $kindType items - DB") }
)
} }
companion object { companion object {