diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 8855ce2be1f7..edf849c35bc8 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -1205,6 +1205,15 @@ function getUpdateMoneyRequestParams( }); } + if (transactionThread) { + // Reset the transaction thread to its original state + failureData.push({ + onyxMethod: Onyx.METHOD.MERGE, + key: `${ONYXKEYS.COLLECTION.REPORT}${transactionThreadReportID}`, + value: transactionThread, + }); + } + return { params, onyxData: {optimisticData, successData, failureData},