From ef206cc55e9307892f68a72c1551d594c5ff02ea Mon Sep 17 00:00:00 2001 From: Puneet Lath Date: Mon, 15 Jan 2024 17:11:09 -0500 Subject: [PATCH] changes for testing --- src/CONST.ts | 1 + src/libs/actions/Policy.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/CONST.ts b/src/CONST.ts index eb908caebf4b..594209555b4c 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -584,6 +584,7 @@ const CONST = { UPDATE_MAX_EXPENSE_AMOUNT: 'POLICYCHANGELOG_UPDATE_MAX_EXPENSE_AMOUNT', UPDATE_MAX_EXPENSE_AMOUNT_NO_RECEIPT: 'POLICYCHANGELOG_UPDATE_MAX_EXPENSE_AMOUNT_NO_RECEIPT', UPDATE_NAME: 'POLICYCHANGELOG_UPDATE_NAME', + UPDATE_DESCRIPTION: 'POLICYCHANGELOG_UPDATE_DESCRIPTION', UPDATE_OWNERSHIP: 'POLICYCHANGELOG_UPDATE_OWNERSHIP', UPDATE_REIMBURSEMENT_CHOICE: 'POLICYCHANGELOG_UPDATE_REIMBURSEMENT_CHOICE', UPDATE_REPORT_FIELD: 'POLICYCHANGELOG_UPDATE_REPORT_FIELD', diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js index 25c8cf5ade80..512c4ca39342 100644 --- a/src/libs/actions/Policy.js +++ b/src/libs/actions/Policy.js @@ -829,6 +829,11 @@ function updateGeneralSettings(policyID, name, currency) { failureData, }, ); + + API.write( + 'UpdateWorkspaceDescription', + {policyID, description: name}, + ); } /**