Skip to content

Commit

Permalink
fix: nodeOutputType
Browse files Browse the repository at this point in the history
  • Loading branch information
horpeazy committed May 27, 2024
1 parent 73ee1d5 commit f3c3571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli/src/workflowTests/workflowTests.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ export class WorkflowTestsController {
nodeId: req.body.nodeId,
};

const updatedNodeOutput = await Container.get(NodeOutputRepository).update(nodeKey, nodeData);
const nodeOuput = new NodeOutput();
Object.assign(nodeOuput, nodeData);
const updatedNodeOutput = await Container.get(NodeOutputRepository).update(nodeKey, nodeOuput);

if (!updatedNodeOutput) {
this.logger.error('Failed to update node output', { userId: req.user.id });
Expand Down

0 comments on commit f3c3571

Please sign in to comment.