Skip to content

Commit

Permalink
Merge pull request Expensify#43629 from bernhardoj/fix/43279-fix-wron…
Browse files Browse the repository at this point in the history
…g-error-key

Fix wrong hold/unhold expense error key
  • Loading branch information
Julesssss authored Jun 17, 2024
2 parents 1e0831e + 7ca5f01 commit 3e1d94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
},
];
Expand Down Expand Up @@ -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'),
},
},
];
Expand Down

0 comments on commit 3e1d94a

Please sign in to comment.