Skip to content

Commit

Permalink
fix wrong error key
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jun 13, 2024
1 parent a451de4 commit 7ca5f01
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 7ca5f01

Please sign in to comment.