mirror of https://github.com/veops/cmdb.git
fix: init company structure resource
This commit is contained in:
parent
86b9d5a7f4
commit
2712399ccd
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue