Skip to content

Commit

Permalink
Merge pull request #80 from unicef-polymer/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
v-urbanovich authored Aug 31, 2021
2 parents 6136fdb + 71d6d99 commit fd8e272
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 fd8e272

Please sign in to comment.