mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Allow different scales for daily query
This commit is contained in:
parent
85b5e2abaf
commit
e9c46db38a
|
@ -123,9 +123,9 @@ export default {
|
|||
.then((result) => commit('updateBalance', result.data))
|
||||
.catch(console.error);
|
||||
},
|
||||
getDaily({ commit }) {
|
||||
getDaily({ commit }, timescale = 15) {
|
||||
return api
|
||||
.get('/daily')
|
||||
.get('/daily', { params: { timescale } })
|
||||
.then((result) => commit('updateDaily', result.data))
|
||||
.catch(console.error);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user