wrong fetcher
This commit is contained in:
parent
cb20672f0b
commit
ee42d4095a
2 changed files with 4 additions and 4 deletions
|
|
@ -34,8 +34,8 @@ export const useListsStore = defineStore('lists', {
|
|||
},
|
||||
actions: {
|
||||
startFetching() {
|
||||
promiseInterval(() => {
|
||||
this.fetcher = fetchLists({
|
||||
this.fetcher = promiseInterval(() => {
|
||||
fetchLists({
|
||||
credentials: useOAuthStore().token,
|
||||
})
|
||||
.then(({ data: lists }) => this.setLists(lists))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue