fix(api): import CIType

fix(api): import CIType
This commit is contained in:
pycook 2024-03-26 16:53:10 +08:00 committed by GitHub
parent 702e17a7a4
commit b18b90ab4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions
cmdb-api/api/lib/cmdb

View File

@ -1188,6 +1188,8 @@ class CITypeTemplateManager(object):
i.pop('choice_web_hook', None)
i.pop('choice_other', None)
i.pop('order', None)
i.pop('inherited', None)
i.pop('inherited_from', None)
choice_value = i.pop('choice_value', None)
if not choice_value:
i['is_choice'] = False