src/applications/personalization/profile/actions/index.js
Function fetchMilitaryInformation
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function fetchMilitaryInformation(recordAnalyticsEvent = recordEvent) {
return async dispatch => {
dispatch({ type: FETCH_MILITARY_INFORMATION });
const baseUrl = '/profile/service_history';