import axios from 'Axios'

export default {
    getSeries () {
        return axios.get('http://api.tvmaze.com/search/shows?q=bad')
    }
}
export default {
	getSeries: () => fetch('http://api.tvmaze.com/search/shows?q=bad').then(res => res.json())
}
Use fetch instead of axios as http client