(Execution)
| 87 | } |
| 88 | |
| 89 | const sanitizeExecution = (Execution) => { |
| 90 | try { |
| 91 | return Execution.map((execution) => { |
| 92 | if (execution.agentflow) execution.agentflow.workspaceId = undefined |
| 93 | return { ...execution, workspaceId: undefined } |
| 94 | }) |
| 95 | } catch (error) { |
| 96 | throw new Error(`exportImport.sanitizeExecution ${getErrorMessage(error)}`) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | export const stringify = (object) => { |
| 101 | try { |
no test coverage detected