mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-17 23:25:02 +00:00
Fix crash
This commit is contained in:
parent
5ed953eeb6
commit
a9799de8d5
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export function uclower(str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function stripObjectToScalars(obj, includedNested: string[] = []) {
|
export function stripObjectToScalars(obj, includedNested: string[] = []) {
|
||||||
const result = {};
|
const result = Array.isArray(obj) ? [] : {};
|
||||||
|
|
||||||
for (const key in obj) {
|
for (const key in obj) {
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue