diff --git a/apps/server/src/common/utils/value-type.js b/apps/server/src/common/utils/value-type.js index bfdc83f13..c60d06aab 100644 --- a/apps/server/src/common/utils/value-type.js +++ b/apps/server/src/common/utils/value-type.js @@ -18,6 +18,8 @@ export function normalizeValueType(type) { case 'boolean': case 'bool': return FLOGO_TASK_ATTRIBUTE_TYPE.BOOLEAN; + case 'object': + return FLOGO_TASK_ATTRIBUTE_TYPE.OBJECT; case 'bytes': return FLOGO_TASK_ATTRIBUTE_TYPE.BYTES; case 'array': diff --git a/apps/server/src/modules/transfer/tests/samples/imported-app.ts b/apps/server/src/modules/transfer/tests/samples/imported-app.ts index ac4b8c0e3..3a14a31c8 100644 --- a/apps/server/src/modules/transfer/tests/samples/imported-app.ts +++ b/apps/server/src/modules/transfer/tests/samples/imported-app.ts @@ -58,7 +58,7 @@ const expectedResource = { output: [ { name: 'status', - type: 'any', + type: 'object', }, { name: 'code',