Skip to content

Commit

Permalink
Merge pull request #79 from unicef-polymer/error-parsing-fix
Browse files Browse the repository at this point in the history
[ch26561] Fix missing property
  • Loading branch information
v-urbanovich authored Aug 31, 2021
2 parents 7f96cb7 + 650c765 commit 71d6d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ajax-error-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function getErrorsArray(errors, keyTranslate = defaultKeyTranslate) {
if (typeof value === 'object') {
return Object
.entries(value)
.map(([nestedField, ]) =>
.map(([nestedField, nestedValue]) =>
`Field ${translatedField} (${keyTranslate(nestedField)}) - ${getErrorsArray(nestedValue, keyTranslate)}`);
}
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"description": "Polymer element and behavior for handling ajax requests",
"name": "@unicef-polymer/etools-ajax",
"version": "4.3.0",
"version": "4.3.1",
"homepage": "https://github.com/unicef-polymer/etools-ajax",
"repository": {
"type": "git",
Expand Down

0 comments on commit 71d6d99

Please sign in to comment.