mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +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))
|
||||
.catch(console.error);
|
||||
},
|
||||
getDaily({ commit }, timescale = 15) {
|
||||
getDaily({ commit }, payload = {}) {
|
||||
const { timescale = 20 } = payload;
|
||||
return api
|
||||
.get('/daily', { params: { timescale } })
|
||||
.then((result) => commit('updateDaily', result.data))
|
||||
|
|
Loading…
Reference in New Issue
Block a user