mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-09 06:07:27 +08:00
[O] Do not log GetUserPortraitApi
This commit is contained in:
@@ -363,7 +363,7 @@ class Maimai2ServletController(
|
|||||||
return try {
|
return try {
|
||||||
Metrics.timer("aquadx_maimai2_api_latency", "api" to api).recordCallable {
|
Metrics.timer("aquadx_maimai2_api_latency", "api" to api).recordCallable {
|
||||||
handlers[api]!!.handle(request).let { if (it is String) it else it.toJson() }.also {
|
handlers[api]!!.handle(request).let { if (it is String) it else it.toJson() }.also {
|
||||||
if (api !in setOf("GetUserItemApi", "GetGameEventApi"))
|
if (api !in setOf("GetUserItemApi", "GetGameEventApi", "GetUserPortraitApi"))
|
||||||
logger.info("Mai2 > $api : $it")
|
logger.info("Mai2 > $api : $it")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user