[F] Fix maimai2 events

This commit is contained in:
Azalea
2024-03-23 07:01:00 -04:00
parent cf015be49f
commit 015fa3dc9f
3 changed files with 14 additions and 13 deletions

View File

@@ -48,9 +48,10 @@ class GetUserRatingHandler(
ur.udemae = repos.userUdemae.findSingleByUser_Card_ExtId(userId)() ?: Mai2UserUdemae()
val resultMap: MutableMap<String, Any> = LinkedHashMap()
resultMap["userId"] = userId
resultMap["userRating"] = ur
val resultMap = mapOf(
"userId" to userId,
"userRating" to ur
)
val json = mapper.write(resultMap)
logger.info("Response: $json")