Skip to content

Commit

Permalink
Merge pull request #12887 from ntdiary/fix-money-badge-flash
Browse files Browse the repository at this point in the history
Fix after requesting money badge in the DM flashes with red 0.00
  • Loading branch information
iwiznia authored Nov 24, 2022
2 parents fd4d662 + e7a7b3e commit 80a4c9f
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 @@ -113,7 +113,7 @@ function requestMoney(report, amount, currency, recipientEmail, participant, com
},
},
{
onyxMethod: CONST.ONYX.METHOD.MERGE,
onyxMethod: originalIOUStatus ? CONST.ONYX.METHOD.MERGE : CONST.ONYX.METHOD.SET,
key: `${ONYXKEYS.COLLECTION.REPORT_IOUS}${iouReport.reportID}`,
value: iouReport,
},
Expand Down

0 comments on commit 80a4c9f

Please sign in to comment.