From e164290c5ca872adc4d2cd9d6ee8e1b60a2f2210 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 1 Aug 2019 12:25:30 +0200 Subject: [PATCH] Always return serialized workflow when updating This is more predictable, just returning the payload if there are no changes isn't that useful. --- lib/galaxy/webapps/galaxy/api/workflows.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/api/workflows.py b/lib/galaxy/webapps/galaxy/api/workflows.py index 7a03f34b8be..9da77b9eec0 100644 --- a/lib/galaxy/webapps/galaxy/api/workflows.py +++ b/lib/galaxy/webapps/galaxy/api/workflows.py @@ -566,9 +566,6 @@ class WorkflowsAPIController(BaseAPIController, UsesStoredWorkflowMixin, UsesAnn ) except workflows.MissingToolsException: raise exceptions.MessageException("This workflow contains missing tools. It cannot be saved until they have been removed from the workflow or installed.") - else: - # We only adjusted tags and menu entry - return payload else: message = "Updating workflow requires dictionary containing 'workflow' attribute with new JSON description." raise exceptions.RequestParameterInvalidException(message)