From 20af601ad7b800419a5effc64601181bdec49e63 Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Fri, 31 May 2024 15:21:02 -0300 Subject: [PATCH] refactor: Update getCurlRunCode function to export it as a named export 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. --- src/frontend/src/modals/apiModal/utils/get-curl-code.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/modals/apiModal/utils/get-curl-code.tsx b/src/frontend/src/modals/apiModal/utils/get-curl-code.tsx index d4f56804a..40257d73d 100644 --- a/src/frontend/src/modals/apiModal/utils/get-curl-code.tsx +++ b/src/frontend/src/modals/apiModal/utils/get-curl-code.tsx @@ -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,