src/frontend/packages/store/src/reducers/api-request-reducer/fail-request.ts
Function failRequest
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function failRequest(state, action: IFailedRequestAction) {
if (isNullOrUndefined(action.apiAction.guid)) {
return state;
}
const apiAction = action.apiAction as BaseEntityRequestAction;