diff --git a/browser_app/index.js b/browser_app/index.js index f0b3cd8..f125c4c 100644 --- a/browser_app/index.js +++ b/browser_app/index.js @@ -82,7 +82,7 @@ window.auth = { submit: function(form) { SimpleFormSubmit.submitForm(form.action, form) .then(response =>{ - response.json().then(function(data) { + response.json().then(data => { if (data.errors) { var msg ='