Fix wrong relationship mapping

This commit is contained in:
adrinr 2023-02-22 17:18:05 +01:00
parent 8c906c1681
commit f00994af7f
1 changed files with 9 additions and 0 deletions

View File

@ -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