fix(variables): fix double stringification (#1991)

This commit is contained in:
Siddharth Ganesan
2025-11-14 12:00:32 -08:00
committed by GitHub
parent fa18bef65b
commit 72a048f37d

View File

@@ -159,9 +159,12 @@ export class BlockResolver implements Resolver {
if (blockType === 'response') {
if (typeof value === 'string') {
return value
}
if (Array.isArray(value) || (typeof value === 'object' && value !== null)) {
return JSON.stringify(value)
}
return value
return String(value)
}
if (typeof value === 'object' && value !== null) {