Skip to content

Commit

Permalink
#49 fix edit name and content for variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeoffreybauvin committed Feb 16, 2018
1 parent facbf21 commit 222543f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def func_wrapper(*args, **kwargs):
obj_id = kwargs.get('id')
content = request.get_json(force=True, silent=True)

editable_properties = [ 'name', 'environment_id', 'class_id', 'hostgroup_id' ]
editable_properties = [ 'name', 'environment_id', 'class_id', 'hostgroup_id', 'content' ]
updates = False
for prop in editable_properties:
if prop in content:
Expand Down

0 comments on commit 222543f

Please sign in to comment.