Reinstate default timescale

This commit is contained in:
Matthias 2020-08-17 07:55:03 +02:00
parent 359e351d67
commit 5f9b3b2e9d

View File

@ -123,7 +123,7 @@ export default {
.then((result) => commit('updateBalance', result.data))
.catch(console.error);
},
getDaily({ commit }, payload: DailyPayload) {
getDaily({ commit }, payload: DailyPayload = {}) {
const { timescale = 20 } = payload;
return api
.get('/daily', { params: { timescale } })