Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed Oct 13, 2023
1 parent 0855613 commit 0827919
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ function _generateMappings(
matchingType = field.object_type_mapping_type ?? field.object_type;
break;
case 'group':
const fields = field.fields.map((field) => ({
...field,
const fields = field.fields.map((dynField) => ({
...dynField,
type: 'object',
object_type: field.object_type ?? field.type,
object_type: dynField.object_type ?? dynField.type,
}))
_generateMappings(fields, {
...ctx,
Expand Down

0 comments on commit 0827919

Please sign in to comment.