Skip to content

Commit

Permalink
Fix nested objects in feeds not being visible dump
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Oct 22, 2021
1 parent f692b3b commit 691a431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structs/FlattenedJSON.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ class FlattenedJSON {
const entry = item[i]
const thisKeyNameWithPrevious = `${keyNameWithPrevious}[${i}]`
if (FlattenedJSON.isObject(entry)) {
return () => this._trampolineIteration(this._iterateOverObject, entry, thisKeyNameWithPrevious)
this._trampolineIteration(this._iterateOverObject, entry, thisKeyNameWithPrevious)
} else {
this.results[thisKeyNameWithPrevious] = entry
}
}
} else if (FlattenedJSON.isObject(item)) {
return () => this._trampolineIteration(this._iterateOverObject, item, keyNameWithPrevious)
this._trampolineIteration(this._iterateOverObject, item, keyNameWithPrevious)
} else {
this.results[keyNameWithPrevious] = cleanup(this.feed, item)
}
Expand Down

0 comments on commit 691a431

Please sign in to comment.