Skip to content

Commit

Permalink
hotfix(modify): Always call standardizeAttrs with an object
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrina-p committed Jul 29, 2024
1 parent bf20af4 commit a20d913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modify.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function rewriteAllFields(schema, configCallback, context) {
get(schema.properties, fieldName),
{
...fieldAttrs,
...standardizeAttrs(configCallback(fullName, fieldAttrs)),
...standardizeAttrs(configCallback(fullName, fieldAttrs) || {}),
},
mergeReplaceArray
);
Expand Down

0 comments on commit a20d913

Please sign in to comment.