Skip to content

Commit

Permalink
flush return no message
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteusT committed Sep 14, 2020
1 parent 285531f commit 9be58f3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions external/flush.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,4 @@ def put(self, request, *args, **kwargs):
workflow = Workflow.objects.get(pk=self.kwargs["workflow_id"])
workflow.n_tasks = 0
workflow.save()
return Response(
{
"status_code": 200,
"message": f"Workflow {workflow.id} successfully flushed",
},
status=200,
)
return Response(status=200)

0 comments on commit 9be58f3

Please sign in to comment.