Fix wrong relationship mapping
This commit is contained in:
parent
8c906c1681
commit
f00994af7f
|
@ -384,6 +384,15 @@ export class ExternalRequest {
|
||||||
) {
|
) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
relationship.from &&
|
||||||
|
row[fromColumn] === undefined &&
|
||||||
|
row[relationship.from] === null
|
||||||
|
) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
let linked = basicProcessing(row, linkedTable)
|
let linked = basicProcessing(row, linkedTable)
|
||||||
if (!linked._id) {
|
if (!linked._id) {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue