Skip to content

Commit

Permalink
patched up flattenobject() for avro data files transform
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomFractals committed Jun 16, 2019
1 parent 8714c7d commit f43de05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/json.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function flattenObject (obj: any, preservePath: boolean = false): any {
}
else if (Array.isArray(obj[key])) {

} else {
} else if (obj[key]) {
flatObject[key] = obj[key].toString();
}
});
Expand Down

0 comments on commit f43de05

Please sign in to comment.