[O] Do not log GetUserPortraitApi

pull/98/head
Azalea 2025-01-02 07:13:06 -05:00
parent d8022cc1a4
commit a1b56f6e0b
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ class Maimai2ServletController(
return try {
Metrics.timer("aquadx_maimai2_api_latency", "api" to api).recordCallable {
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")
}
}