We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc4ecc8 commit 0f686c8Copy full SHA for 0f686c8
apps/sim/blocks/blocks/tinybird.ts
@@ -131,9 +131,11 @@ export const TinybirdBlock: BlockConfig<TinybirdResponse> = {
131
result.format = params.format || 'ndjson'
132
result.compression = params.compression || 'none'
133
134
+ // Convert wait from string to boolean
135
// Convert wait from string to boolean
136
if (params.wait !== undefined) {
- result.wait = params.wait === 'true' || params.wait === true || params.wait === 'True'
137
+ const waitValue = typeof params.wait === 'string' ? params.wait.toLowerCase() : params.wait
138
+ result.wait = waitValue === 'true' || waitValue === true
139
}
140
} else if (operation === 'tinybird_query') {
141
// Query operation
0 commit comments