From fc379aba14cde054cdc62da64ee1340f24803323 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Fri, 25 Jul 2025 13:31:28 +0200 Subject: [PATCH] Silence errors when refreshing projects. We use this endpoint also to do autologins, so HTTP 403's are not unexpected. --- lib/www/client/source/src/store/modules/projects/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/www/client/source/src/store/modules/projects/actions.js b/lib/www/client/source/src/store/modules/projects/actions.js index 35e63bb..9f33d1b 100644 --- a/lib/www/client/source/src/store/modules/projects/actions.js +++ b/lib/www/client/source/src/store/modules/projects/actions.js @@ -13,7 +13,7 @@ async function refreshProjects ({commit, dispatch, state, rootState}) { const init = { signal: state.loading.signal }; - const res = await dispatch('api', [url, init]); + const res = await dispatch('api', [url, init, null, {silent:true}]); if (res) { commit('setProjects', res);