From e5a73096895b13c3edc115727d5e761a85e7c4e0 Mon Sep 17 00:00:00 2001 From: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com> Date: Fri, 31 May 2024 15:33:47 +0100 Subject: [PATCH] Pass configUpdate correctly to onyx --- src/libs/actions/connections/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/connections/index.ts b/src/libs/actions/connections/index.ts index dc9dfb96de2d..185cd089d1e9 100644 --- a/src/libs/actions/connections/index.ts +++ b/src/libs/actions/connections/index.ts @@ -178,7 +178,7 @@ function updateManyPolicyConnectionConfigs [settingName, CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE])), errorFields: Object.fromEntries(Object.keys(configUpdate).map((settingName) => [settingName, null])), }, @@ -196,7 +196,7 @@ function updateManyPolicyConnectionConfigs [settingName, null])), errorFields: Object.fromEntries(Object.keys(configUpdate).map((settingName) => [settingName, ErrorUtils.getMicroSecondOnyxError('common.genericErrorMessage')])), },