diff --git a/src/api/src/backend/views/PipelineLocks.py b/src/api/src/backend/views/PipelineLocks.py index 8a5285ac..dd7e85ff 100644 --- a/src/api/src/backend/views/PipelineLocks.py +++ b/src/api/src/backend/views/PipelineLocks.py @@ -186,7 +186,7 @@ def get(self, request, group_id, pipeline_id, pipeline_lock_uuid=None, *_, **__ id=pipeline_id ).prefetch_related( "pipelinelocks" - "pipeline__pipeline" + "pipelinelocks__pipeline" "pipelinelocks__pipeline_run" ).first()