refactor: Update getCurlRunCode function to export it as a named export (#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.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-05-31 11:21:51 -07:00 • committed by GitHub
commit 0b584fe731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,