From ee42d4095a70ab774203af401514c9d6ac81f22d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 23 Jun 2026 20:15:47 +0300 Subject: [PATCH] wrong fetcher --- src/stores/bookmark_folders.js | 4 ++-- src/stores/lists.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stores/bookmark_folders.js b/src/stores/bookmark_folders.js index 6ffec807b..713a21d00 100644 --- a/src/stores/bookmark_folders.js +++ b/src/stores/bookmark_folders.js @@ -27,8 +27,8 @@ export const useBookmarkFoldersStore = defineStore('bookmarkFolders', { }, actions: { startFetching() { - promiseInterval(() => { - this.fetcher = fetchBookmarkFolders({ + this.fetcher = promiseInterval(() => { + fetchBookmarkFolders({ credentials: useOAuthStore().token, }) .then(({ data: folders }) => this.setBookmarkFolders(folders)) diff --git a/src/stores/lists.js b/src/stores/lists.js index 7634f1061..37471d46e 100644 --- a/src/stores/lists.js +++ b/src/stores/lists.js @@ -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))