fix(basic.gblib): Allow MERGE keyword in storage #380. @othonlima
This commit is contained in:
parent
30e6bf9b3b
commit
dbdeecca50
1 changed files with 2 additions and 2 deletions
|
@ -1537,7 +1537,7 @@ export class SystemKeywords {
|
|||
if (typeof obj[key] === 'function') {
|
||||
continue;
|
||||
}
|
||||
if (typeof obj[key] !== 'object') {
|
||||
if (typeof obj[key] !== 'object' || obj[key] instanceof Date) {
|
||||
|
||||
// If not defined already add the flattened field.
|
||||
|
||||
|
@ -1550,7 +1550,7 @@ export class SystemKeywords {
|
|||
}
|
||||
|
||||
} else {
|
||||
this.flattenJSON(obj[key], res, `${key}${extraKey}`, true);
|
||||
obj[key] = this.flattenJSON(obj[key], res, `${key}${extraKey}`, true);
|
||||
};
|
||||
};
|
||||
return res;
|
||||
|
|
Loading…
Add table
Reference in a new issue