fix(lark): align region endpoints and doctor config parity
This commit is contained in:
parent
e161e4aed3
commit
5d274dae12
2 changed files with 37 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue