diff --git a/app/Jobs/NodelistImport.php b/app/Jobs/NodelistImport.php index c65334c..94d96c6 100644 --- a/app/Jobs/NodelistImport.php +++ b/app/Jobs/NodelistImport.php @@ -559,7 +559,9 @@ class NodelistImport implements ShouldQueue $no->load('addresses'); $remove = $zo - ->addresses->pluck('id') + ->addresses + ->filter(fn($item)=>(! $item->point_id)) + ->pluck('id') ->diff($no->addresses->pluck('id')) ->diff(our_address($do)->pluck('id')) ->diff(our_nodes($do)->pluck('id'));