diff --git a/static/js/pages/base.js b/static/js/pages/base.js index e5fd479c..054167ac 100644 --- a/static/js/pages/base.js +++ b/static/js/pages/base.js @@ -132,7 +132,7 @@ export default class BasePage { console.log(dataRequest); */ API.loginUser() - .then(function(response) { + .then((response) => { if (response.Success) { this.router.navigateToUrl(response[keyCallback], null, false); // window.app. } else {