import axios from 'Axios'

export default {
    getSeries () {
        return axios.get('http://api.tvmaze.com/search/shows?q=bad')
    }
}
@@ -1,31 +1,4 @@
-import axios from 'Axios'%0A%0A
 expo
@@ -10,20 +10,17 @@
 fault %7B%0A
-    
+%09
 getSerie
@@ -24,38 +24,21 @@
 ries
+:
  () 
-%7B%0A        return axios.get
+=%3E fetch
 ('ht
@@ -81,12 +81,30 @@
 ad')
-%0A    %7D
+.then(res =%3E res.json())
 %0A%7D

Use fetch instead of axios as http client