Skip to content

Commit 599ca8b

Browse files
committed
remove fetchActions
1 parent 852e636 commit 599ca8b

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/libs/actions/Report.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -625,15 +625,14 @@ function fetchOrCreateChatReport(participants, shouldNavigate = true) {
625625
}
626626

627627
/**
628-
* Get the actions of a report
628+
* Get the initial actions of a report
629629
*
630630
* @param {Number} reportID
631-
* @returns {Promise}
632631
*/
633-
function fetchActions(reportID) {
632+
function fetchInitialActions(reportID) {
634633
const reportActionsOffset = -1;
635634

636-
return DeprecatedAPI.Report_GetHistory({
635+
DeprecatedAPI.Report_GetHistory({
637636
reportID,
638637
reportActionsOffset,
639638
reportActionsLimit: CONST.REPORT.ACTIONS.LIMIT,
@@ -644,15 +643,6 @@ function fetchActions(reportID) {
644643
});
645644
}
646645

647-
/**
648-
* Get the initial actions of a report
649-
*
650-
* @param {Number} reportID
651-
*/
652-
function fetchInitialActions(reportID) {
653-
fetchActions(reportID);
654-
}
655-
656646
/**
657647
* Get all of our reports
658648
*

0 commit comments

Comments
 (0)