From f68e2a057cde43b8d88452a4aaec49100a8f2e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= Date: Sun, 27 Aug 2023 19:02:47 +0200 Subject: [PATCH] fix object node output --- packages/@pufflig/ps-nodes/src/data/object/object.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/@pufflig/ps-nodes/src/data/object/object.ts b/packages/@pufflig/ps-nodes/src/data/object/object.ts index 31f7847..2b19978 100644 --- a/packages/@pufflig/ps-nodes/src/data/object/object.ts +++ b/packages/@pufflig/ps-nodes/src/data/object/object.ts @@ -3,6 +3,10 @@ import { Node } from "@pufflig/ps-types"; export const objectNode: Node = { ...nodes[nodeTypes.objectNodeType], - execute: async (i) => i, + execute: async (inputs) => { + return { + object: inputs, + }; + }, parseInput: async (i) => i, };