diff --git a/src/api/src/backend/views/PipelineLocks.py b/src/api/src/backend/views/PipelineLocks.py index 30a5bb60..a9c9a419 100644 --- a/src/api/src/backend/views/PipelineLocks.py +++ b/src/api/src/backend/views/PipelineLocks.py @@ -55,7 +55,7 @@ def post(self, request, group_id, pipeline_id): # Get the pipeline run pipeline_run = PipelineRun.objects.filter( - body.pipeline_run_uuid + uuid=body.pipeline_run_uuid ).first() # Return BadRequest if no pipeline found