Skip to content

Commit

Permalink
Merge pull request #30184 from c3024/29695-merge-reportActions-instea…
Browse files Browse the repository at this point in the history
…d-of-set

merge reportActions instead of set
  • Loading branch information
johnmlee101 authored Oct 24, 2023
2 parents a04a01d + 011b6b1 commit f6a9dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ function getSendMoneyParams(report, amount, currency, comment, paymentMethodType
},
};
const optimisticChatReportActionsData = {
onyxMethod: Onyx.METHOD.SET,
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReport.reportID}`,
value: {
[reportPreviewAction.reportActionID]: reportPreviewAction,
Expand Down

0 comments on commit f6a9dde

Please sign in to comment.