mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 15:50:22 +08:00
fix: init company structure resource (#191)
* fix: init company structure resource * fix: notice_info null
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user