🔧 add config for lark users

This commit is contained in:
StarHeartHunt
2021-08-16 17:30:52 +08:00
parent f63ef8d23b
commit 109cae6dac
2 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ class Bot(BaseBot):
@property
def api_root(self) -> str:
if self.feishu_config.region == "Lark" :
if self.feishu_config.is_lark:
return "https://open.larksuite.com/open-apis/"
else:
return "https://open.feishu.cn/open-apis/"