wrong fetcher

This commit is contained in:
Henry Jameson 2026-06-23 20:15:47 +03:00
commit ee42d4095a
2 changed files with 4 additions and 4 deletions

View file

@ -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))