diff --git a/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiController.kt b/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiController.kt index 9d63f7f8..bc6629a4 100644 --- a/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiController.kt +++ b/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiController.kt @@ -41,7 +41,7 @@ class OngekiController( val token = TokenChecker.tokenShort() log.info("$token : $api < ${data.toJson()}") - val noop = """{"returnCode":"1","apiName":"${api.substringBefore("Api").firstCharLower()}"}""" + val noop = """{"returnCode":1,"apiName":"${api.substringBefore("Api").firstCharLower()}"}""" if (api !in noopEndpoint && !handlers.containsKey(api)) { log.warn("$token : $api > not found") return noop diff --git a/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiUserApis.kt b/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiUserApis.kt index 2115d663..d7292d35 100644 --- a/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiUserApis.kt +++ b/src/main/java/icu/samnyan/aqua/sega/ongeki/OngekiUserApis.kt @@ -129,7 +129,10 @@ fun OngekiController.initUser() { "headphone" to (o?.headphone ?: 0), "lastEmoneyBrand" to 4, - "lastEmoneyCredit" to 10000 + "lastEmoneyCredit" to 10000, + + "banStatus" to 0, + "isWarningConfirmed" to false, ) }