Skip to content

Commit

Permalink
Update src/frontend/src/modals/apiModal/utils/get-curl-code.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Cristhian Zanforlin Lousa <[email protected]>
  • Loading branch information
anovazzi1 and Cristhianzl authored Feb 14, 2025
1 parent b54f692 commit ed87fc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/frontend/src/modals/apiModal/utils/get-curl-code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export function getNewCurlCode({
const protocol = window.location.protocol;
const apiUrl = `${protocol}//${host}/api/v1/run/${flowId}`;

// Convert tweaks object to a string if it exists and is active
const tweaksString =
tweaksObject && activeTweaks ? JSON.stringify(tweaksObject, null, 2) : "{}";

Expand Down

0 comments on commit ed87fc8

Please sign in to comment.