Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-08-18 20:59:50 +02:00
parent cbee2ff018
commit e73341d1a9
7 changed files with 35 additions and 20 deletions

View File

@ -50,7 +50,7 @@ const fetchOAuthTokens = () =>
dispatch({ type: FETCH_TOKENS_REQUEST });
return getClient(getState).settings.getOauthTokens().then((tokens) => {
dispatch({ type: FETCH_TOKENS_SUCCESS, tokens });
}).catch(() => {
}).catch((e) => {
dispatch({ type: FETCH_TOKENS_FAIL });
});
};