All files / actions ScheduleActions.js

100% Statements 1/1
100% Branches 1/1
100% Functions 1/1
100% Lines 1/1
1 2 3 4 5 6 7        2x    
import { REQUEST_SCHEDULE } from '../actionTypes';
import api from '../Api';
 
export function fetchSchedule(requestParams, term, mode, acadCareer, Api = api) {
  return { type: REQUEST_SCHEDULE, requestParams, term, mode, acadCareer, Api };
}