Silence errors when refreshing projects.

We use this endpoint also to do autologins, so HTTP 403's are not
unexpected.
This commit is contained in:
D. Berge
2025-07-25 13:31:28 +02:00
parent 8cbacb9aa7
commit fc379aba14

View File

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