webpack/components/PreupgradeReports/PreupgradeReportsActions.js in foreman_leapp-0.0.6 vs webpack/components/PreupgradeReports/PreupgradeReportsActions.js in foreman_leapp-0.1.0
- old
+ new
@@ -5,10 +5,10 @@
PREUPGRADE_REPORTS_REQUEST,
PREUPGRADE_REPORTS_SUCCESS,
PREUPGRADE_REPORTS_FAILURE,
} from '../../consts';
-export const getPreupgradeReports = url => async dispatch => {
+export const getPreupgradeReportsAction = url => async dispatch => {
dispatch({ type: PREUPGRADE_REPORTS_REQUEST });
try {
const { data } = await api.get(url);
return dispatch({