named anonymous functions

This commit is contained in:
2019-04-18 19:51:21 +00:00
parent 7770b8bad1
commit 8cdae969fb
13 changed files with 43 additions and 39 deletions

View File

@@ -17,7 +17,7 @@ export default {
.then(() => {
return Promise.resolve(true);
}) //succeeded, nothing to return
.catch(function(error) {
.catch(function handleAuthError(error) {
processLogout();
return Promise.reject(error);
});