mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:47:09 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user