Skip to content

Commit

Permalink
fix: always fetch full data (more reliable)
Browse files Browse the repository at this point in the history
  • Loading branch information
m4ximuel committed Apr 3, 2021
1 parent 7c7e40d commit 89cf6ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/mutations.js
Expand Up @@ -53,8 +53,7 @@ export default {
state.authenticated = payload
},
updateMainData: async state => {
const rid = state.rid ? state.rid : undefined
const res = await qbit.getMainData(rid)
const res = await qbit.getMainData(undefined)

// status
state.status = new Status(res.data.server_state, res.data.tags)
Expand Down

0 comments on commit 89cf6ba

Please sign in to comment.