Fix crash
This commit is contained in:
parent
b8e0f26bf0
commit
6adcd1b583
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export function uclower(str) {
|
|||
}
|
||||
|
||||
export function stripObjectToScalars(obj, includedNested: string[] = []) {
|
||||
const result = {};
|
||||
const result = Array.isArray(obj) ? [] : {};
|
||||
|
||||
for (const key in obj) {
|
||||
if (
|
||||
|
|
Loading…
Add table
Reference in a new issue