fix: lark domain and log_level of Lark API client (#4038)

fixes: #4035
This commit is contained in:
Soulter
2025-12-14 21:31:17 +08:00
committed by GitHub
parent 6b73b19e54
commit 16df64c405
@@ -81,7 +81,12 @@ class LarkPlatformAdapter(Platform):
)
self.lark_api = (
lark.Client.builder().app_id(self.appid).app_secret(self.appsecret).build()
lark.Client.builder()
.app_id(self.appid)
.app_secret(self.appsecret)
.log_level(lark.LogLevel.ERROR)
.domain(self.domain)
.build()
)
self.webhook_server = None