mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 20:12:39 +00:00
[F] Ongeki: Field inconsistencies
This commit is contained in:
parent
348b2e17f0
commit
a9c0fe5ff8
@ -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
|
||||
|
||||
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user