From 7ca5f011233c41efebb70ad4b303173600509ba0 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Thu, 13 Jun 2024 12:36:38 +0800 Subject: [PATCH] fix wrong error key --- src/libs/actions/IOU.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index e1b726be23c..59b09f2b451 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -6823,7 +6823,7 @@ function putOnHold(transactionID: string, comment: string, reportID: string) { comment: { hold: null, }, - errors: ErrorUtils.getMicroSecondOnyxError('iou.genericHoldExpenseFailureMessage'), + errors: ErrorUtils.getMicroSecondOnyxError('iou.error.genericHoldExpenseFailureMessage'), }, }, ]; @@ -6885,7 +6885,7 @@ function unholdRequest(transactionID: string, reportID: string) { key: `${ONYXKEYS.COLLECTION.TRANSACTION}${transactionID}`, value: { pendingAction: null, - errors: ErrorUtils.getMicroSecondOnyxError('iou.genericUnholdExpenseFailureMessage'), + errors: ErrorUtils.getMicroSecondOnyxError('iou.error.genericUnholdExpenseFailureMessage'), }, }, ];