mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 11:28:06 +08:00
release 2.3.4
This commit is contained in:
@@ -432,8 +432,9 @@ class CITypeTriggerView(APIView):
|
||||
assert type_id is not None
|
||||
|
||||
option = request.values.get('option')
|
||||
attr_id = request.values.get('attr_id')
|
||||
|
||||
return self.jsonify(CITypeTriggerManager().update(_id, option))
|
||||
return self.jsonify(CITypeTriggerManager().update(_id, attr_id, option))
|
||||
|
||||
@has_perm_from_args("type_id", ResourceTypeEnum.CI, PermEnum.CONFIG, CITypeManager.get_name_by_id)
|
||||
def delete(self, type_id, _id):
|
||||
|
Reference in New Issue
Block a user