named anonymous functions
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user