Skip to content

Commit

Permalink
remove extra parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
srikarparsi committed Oct 19, 2023
1 parent 8a609fd commit db19896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ function updateNotificationPreference(reportID, previousValue, newValue, navigat
value: {[parentReportActionID]: {childReportNotificationPreference: previousValue}},
});
}
API.write('UpdateReportNotificationPreference', {reportID, notificationPreference: newValue, parentReportID, parentReportActionID}, {optimisticData, failureData});
API.write('UpdateReportNotificationPreference', {reportID, notificationPreference: newValue}, {optimisticData, failureData});
if (navigate) {
Navigation.goBack(ROUTES.REPORT_SETTINGS.getRoute(reportID));
}
Expand Down

0 comments on commit db19896

Please sign in to comment.