fix: clone base db queries
This commit is contained in:
@@ -19,6 +19,7 @@ const getExecutionSteps = async (
|
||||
const executionBaseQuery = conditions.isCreator ? userExecutions : allExecutions;
|
||||
|
||||
const execution = await executionBaseQuery
|
||||
.clone()
|
||||
.withSoftDeleted()
|
||||
.findById(params.executionId)
|
||||
.throwIfNotFound();
|
||||
|
Reference in New Issue
Block a user