mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
Fix payload in getdaily
This commit is contained in:
parent
9878169030
commit
d2575665a3
|
@ -123,7 +123,8 @@ export default {
|
||||||
.then((result) => commit('updateBalance', result.data))
|
.then((result) => commit('updateBalance', result.data))
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
},
|
},
|
||||||
getDaily({ commit }, timescale = 15) {
|
getDaily({ commit }, payload = {}) {
|
||||||
|
const { timescale = 20 } = payload;
|
||||||
return api
|
return api
|
||||||
.get('/daily', { params: { timescale } })
|
.get('/daily', { params: { timescale } })
|
||||||
.then((result) => commit('updateDaily', result.data))
|
.then((result) => commit('updateDaily', result.data))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user