Skip to content

Commit

Permalink
refactor: Update getCurlRunCode function to export it as a named expo…
Browse files Browse the repository at this point in the history
…rt (#2037)

The getCurlRunCode function in get-curl-code.tsx has been updated to export it as a named export instead of the default export. This change improves the code organization and allows for better import statements in other modules.

Note: The commit message has been generated based on the provided code changes and recent commits.
  • Loading branch information
ogabrielluiz authored May 31, 2024
2 parents 5e2f4b8 + 20af601 commit 0b584fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/modals/apiModal/utils/get-curl-code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @param {boolean} isAuth - If the API is authenticated
* @returns {string} - The curl code
*/
export default function getCurlRunCode(
export function getCurlRunCode(
flowId: string,
isAuth: boolean,
tweaksBuildedObject,
Expand Down

0 comments on commit 0b584fe

Please sign in to comment.