| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -66,7 +66,7 @@ export default class SignupController { | |||
| 66 | 66 | <%_ if(filters.sequelizeModels) { -%> | |
| 67 | 67 | // Update validity of form fields that match the sequelize errors | |
| 68 | 68 | if(err.name) { | |
| 69 | - angular.forEach(err.fields, field => { | ||
| 69 | + angular.forEach(err.fields, (error, field) => { | ||
| 70 | 70 | form[field].$setValidity('mongoose', false); | |
| 71 | 71 | this.errors[field] = err.message; | |
| 72 | 72 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments