From 28f39d729f695ad374b3c54492a076fc18642951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B2?= Date: Mon, 22 Apr 2024 12:00:57 +0200 Subject: [PATCH] Save primary ID to exception. --- scraper/app/Scraper/Edomizil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/app/Scraper/Edomizil.php b/scraper/app/Scraper/Edomizil.php index 4791adb..a558a62 100644 --- a/scraper/app/Scraper/Edomizil.php +++ b/scraper/app/Scraper/Edomizil.php @@ -79,7 +79,7 @@ class Edomizil{ Exception::create([ 'exception' => 'geoLocation was different: '.$geoLocation, 'entity_type' => 'property', - 'entity_id' => $offer['id'] + 'entity_id' => $property->id ]); } }else{