mirror of
https://github.com/veops/cmdb.git
synced 2025-10-09 15:49:19 +08:00
fix: init company structure resource
This commit is contained in:
@@ -177,7 +177,7 @@ class InitDepartment(object):
|
|||||||
else:
|
else:
|
||||||
resource_type = results[0]
|
resource_type = results[0]
|
||||||
|
|
||||||
for name in ['公司信息', '通知设置']:
|
for name in ['公司信息', '公司架构', '通知设置']:
|
||||||
payload = dict(
|
payload = dict(
|
||||||
type_id=resource_type['id'],
|
type_id=resource_type['id'],
|
||||||
app_id=acl.app_name,
|
app_id=acl.app_name,
|
||||||
|
Reference in New Issue
Block a user