From 2712399ccd6fb8420c3a8423db2f34efa0ab952c Mon Sep 17 00:00:00 2001 From: "hu.sima" Date: Mon, 9 Oct 2023 18:28:18 +0800 Subject: [PATCH] fix: init company structure resource --- cmdb-api/api/commands/click_common_setting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdb-api/api/commands/click_common_setting.py b/cmdb-api/api/commands/click_common_setting.py index 14bb2c8..ebbd882 100644 --- a/cmdb-api/api/commands/click_common_setting.py +++ b/cmdb-api/api/commands/click_common_setting.py @@ -177,7 +177,7 @@ class InitDepartment(object): else: resource_type = results[0] - for name in ['公司信息', '通知设置']: + for name in ['公司信息', '公司架构', '通知设置']: payload = dict( type_id=resource_type['id'], app_id=acl.app_name,