Skip to content

Commit

Permalink
better binary output for http call
Browse files Browse the repository at this point in the history
  • Loading branch information
abrenneke committed Feb 13, 2025
1 parent 63ae7bc commit 108f304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/model/nodes/HttpCallNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ export class HttpCallNodeImpl extends NodeImpl<HttpCallNode> {
},
{
type: 'toggle',
label: 'Whether response body is expected to be a binary',
label: 'Binary Output',
dataKey: 'isBinaryOutput',
helperMessage: 'Toggle on if the response is expected to be binary data',
},
{
type: 'toggle',
Expand Down Expand Up @@ -213,7 +214,6 @@ export class HttpCallNodeImpl extends NodeImpl<HttpCallNode> {

// TODO: Use URL.canParse when we drop support for Node 18
try {
// eslint-disable-next-line no-new
new URL(url);
} catch (err) {
throw new Error(`Invalid URL: ${url}`);
Expand Down

0 comments on commit 108f304

Please sign in to comment.