Commit be6fc34 1 parent 66a418e commit be6fc34 Copy full SHA for be6fc34
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ export default axios => ({
10
10
} ,
11
11
12
12
// deprecating
13
- fetchAffectedCountry : ( ) => {
14
- return axios . get ( `/v2/analytics/country` ) . then ( res => res . data )
15
- } ,
13
+ // fetchAffectedCountry: () => {
14
+ // return axios.get(`/v2/analytics/country`).then(res => res.data)
15
+ // },
16
16
17
17
fetchTopCountryWithDailyNewStatsSortByNewCases : ( ) => {
18
- return axios . get ( `/v3 /analytics/dailyNewStats` ) . then ( res => res . data )
18
+ return axios . get ( `/v5 /analytics/dailyNewStats` ) . then ( res => res . data )
19
19
}
20
20
} )
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default axios => ({
55
55
}
56
56
57
57
return axios
58
- . get ( `/v4 /analytics/trend/country` , { params } )
58
+ . get ( `/v5 /analytics/trend/country` , { params } )
59
59
. then ( res => res . data )
60
60
} ,
61
61
@@ -67,7 +67,7 @@ export default axios => ({
67
67
}
68
68
69
69
return axios
70
- . get ( `/v4 /analytics/newcases/country` , { params } )
70
+ . get ( `/v5 /analytics/newcases/country` , { params } )
71
71
. then ( res => res . data )
72
72
}
73
73
} )
You can’t perform that action at this time.
0 commit comments