inibase 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -544,7 +544,7 @@ export default class Inibase {
|
|
|
544
544
|
const RETURN = {};
|
|
545
545
|
for (const [key, value] of Object.entries(data)) {
|
|
546
546
|
if (Utils.isObject(value))
|
|
547
|
-
Object.assign(RETURN, this._CombineData(value, `${key}.`));
|
|
547
|
+
Object.assign(RETURN, this._CombineData(value, `${(prefix ?? "") + key}.`));
|
|
548
548
|
else if (Utils.isArrayOfObjects(value)) {
|
|
549
549
|
Object.assign(RETURN, this._CombineData(this._combineObjectsToArray(value), `${(prefix ?? "") + key}.`));
|
|
550
550
|
}
|