From 1cc92d11c6223be01389880b98958844f9989546 Mon Sep 17 00:00:00 2001 From: Michael Nakamura Date: Wed, 27 Sep 2023 17:40:36 -0300 Subject: [PATCH] Unit observer blueprint fix --- src/Observers/RealEstateDevelopment/UnitObserver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Observers/RealEstateDevelopment/UnitObserver.php b/src/Observers/RealEstateDevelopment/UnitObserver.php index c83dab3..799b14d 100644 --- a/src/Observers/RealEstateDevelopment/UnitObserver.php +++ b/src/Observers/RealEstateDevelopment/UnitObserver.php @@ -18,7 +18,7 @@ public function created($unit) $unit->loadMissing( 'realEstateDevelopment', 'typology', - 'real_estate_developments_blueprints', + 'blueprint', 'mirror_group', 'mirror_subgroup' ); @@ -60,7 +60,7 @@ public function updated($unit) $unit->loadMissing( 'realEstateDevelopment', 'typology', - 'real_estate_developments_blueprints', + 'blueprint', 'mirror_group', 'mirror_subgroup' );