We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa18bef commit 72a048fCopy full SHA for 72a048f
1 file changed
apps/sim/executor/variables/resolvers/block.ts
@@ -159,9 +159,12 @@ export class BlockResolver implements Resolver {
159
160
if (blockType === 'response') {
161
if (typeof value === 'string') {
162
+ return value
163
+ }
164
+ if (Array.isArray(value) || (typeof value === 'object' && value !== null)) {
165
return JSON.stringify(value)
166
}
- return value
167
+ return String(value)
168
169
170
if (typeof value === 'object' && value !== null) {
0 commit comments