diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index d11b34d649ef..8b9859315d02 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -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, }, @@ -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, }, @@ -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, },