mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-02-18 08:12:10 +03:00
fix: always fetch full data (more reliable)
This commit is contained in:
parent
7c7e40d4a5
commit
89cf6ba32c
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue