1
0
Fork 0
mirror of synced 2024-08-13 00:51:22 +12:00

Fix wrong relationship mapping

This commit is contained in:
adrinr 2023-02-22 17:18:05 +01:00
parent 8c906c1681
commit f00994af7f

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