{"size": 337, "ext": "js", "max_stars_repo_path": "src/reducers/TVReducers/getTVCredits.js", "max_stars_repo_name": "bricksz/film-cloud", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/reducers/TVReducers/getTVCredits.js", "max_issues_repo_name": "bricksz/film-cloud", "max_issues_repo_issues_event_min_datetime": "2019-12-30T04:18:52.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-08T23:05:06.000Z", "max_forks_repo_path": "src/reducers/TVReducers/getTVCredits.js", "max_forks_repo_name": "bricksz/film-cloud", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 14, "max_forks_count": null, "avg_line_length": 16.85, "max_line_length": 56, "alphanum_fraction": 0.587537092}
import { GET_TV_CREDITS } from '../../actions/types'

const initialState = {
  cast: []
};

const getTVCredits = (state = initialState, action) => {
  switch(action.type) {
    case GET_TV_CREDITS:
      return {
        ...state,
        ...action.payload
      };
    default:
      return state;
  }
};

 export default getTVCredits;
