fix(lark): align region endpoints and doctor config parity

This commit is contained in:
Chummy 2026-02-17 18:29:47 +08:00
parent e161e4aed3
commit 5d274dae12
2 changed files with 37 additions and 13 deletions

View file

@ -688,16 +688,7 @@ pub async fn doctor_channels(config: Config) -> Result<()> {
}
if let Some(ref lk) = config.channels_config.lark {
channels.push((
"Lark",
Arc::new(LarkChannel::new(
lk.app_id.clone(),
lk.app_secret.clone(),
lk.verification_token.clone().unwrap_or_default(),
lk.port,
lk.allowed_users.clone(),
)),
));
channels.push(("Lark", Arc::new(LarkChannel::from_config(lk))));
}
if let Some(ref dt) = config.channels_config.dingtalk {