Skip to content

Commit

Permalink
fix wrong onyx key
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Oct 5, 2023
1 parent 25f7ac1 commit 723dcc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ function readOldestAction(reportID, reportActionID) {
optimisticData: [
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
key: `${ONYXKEYS.COLLECTION.REPORT_METADATA}${reportID}`,
value: {
isLoadingMoreReportActions: true,
},
Expand All @@ -778,7 +778,7 @@ function readOldestAction(reportID, reportActionID) {
successData: [
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
key: `${ONYXKEYS.COLLECTION.REPORT_METADATA}${reportID}`,
value: {
isLoadingMoreReportActions: false,
},
Expand All @@ -787,7 +787,7 @@ function readOldestAction(reportID, reportActionID) {
failureData: [
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
key: `${ONYXKEYS.COLLECTION.REPORT_METADATA}${reportID}`,
value: {
isLoadingMoreReportActions: false,
},
Expand Down

0 comments on commit 723dcc5

Please sign in to comment.