pangea-server 3.3.113 → 3.3.115
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.
|
@@ -309,9 +309,9 @@ function processInstance(model, instance) {
|
|
|
309
309
|
console.log('relName: ', relName);
|
|
310
310
|
const relInstance = instance[relName];
|
|
311
311
|
console.log('relInstance');
|
|
312
|
-
console.dir(relInstance, { depth: 1 });
|
|
313
312
|
if (!relInstance)
|
|
314
313
|
continue;
|
|
314
|
+
console.dir(relInstance.toJSON(), { depth: 1 });
|
|
315
315
|
const relModel = model.Relations[relName].getModelFn();
|
|
316
316
|
if (Array.isArray(relInstance)) {
|
|
317
317
|
console.log('Array.isArray(relInstance)');
|