From 10d2ec0d5546ad6f1717e427d30cf81d180effc8 Mon Sep 17 00:00:00 2001 From: mithun-hegde-egov Date: Wed, 25 Sep 2024 12:26:15 +0530 Subject: [PATCH] transform data fnuction name changed --- .../src/pages/employee/tenantMgmt/TenantConfigUpload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micro-ui/web/micro-ui-internals/packages/modules/sandbox/src/pages/employee/tenantMgmt/TenantConfigUpload.js b/micro-ui/web/micro-ui-internals/packages/modules/sandbox/src/pages/employee/tenantMgmt/TenantConfigUpload.js index ff4990502a8..576fec24bc3 100644 --- a/micro-ui/web/micro-ui-internals/packages/modules/sandbox/src/pages/employee/tenantMgmt/TenantConfigUpload.js +++ b/micro-ui/web/micro-ui-internals/packages/modules/sandbox/src/pages/employee/tenantMgmt/TenantConfigUpload.js @@ -98,7 +98,7 @@ const TenantConfigUpload = () => { - const updateFileStoreIds=(inputData, requestData) =>{ + const transformData=(inputData, requestData) =>{ // Iterate over the input data to update fileStoreId in requestData inputData.forEach(input => { requestData[0].documents.forEach(doc => { @@ -115,7 +115,7 @@ const TenantConfigUpload = () => { const triggerCreate = async (documentsArray, tenantDocument) => { try { - const requestBody = updateFileStoreIds(documentsArray, tenantDocument); + const requestBody = transformData(documentsArray, tenantDocument); // Assuming the mutation for API call is defined elsewher await mutation.mutate( {