Merge pull request #4709 from AlanCoding/workflow_code_tweaks

Minor workflow code cleanup & performance
This commit is contained in:
Alan Rominger
2017-01-13 14:55:58 -05:00
committed by GitHub
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -2370,7 +2370,7 @@ class WorkflowJobTemplateNodeSerializer(WorkflowNodeBaseSerializer):
if view and view.request:
request_method = view.request.method
if request_method in ['PATCH']:
obj = view.get_object()
obj = self.instance
char_prompts = copy.copy(obj.char_prompts)
char_prompts.update(self.extract_char_prompts(data))
else: