From 9c3c51961f22ed3124ca2f4fc6bbd32e946bea5e Mon Sep 17 00:00:00 2001 From: kaioken Date: Mon, 5 Aug 2024 19:06:39 -0400 Subject: [PATCH] fix: sync owner --- .../Connectors/Zoho/Actions/SyncZohoLeadAction.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php index 535d4c226..7b356f6f5 100644 --- a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php +++ b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php @@ -131,10 +131,10 @@ public function execute(?Record $zohoLead = null): ?Lead $localLead->leads_owner_id = $user->getId(); } - if ($user) { - $localLead->leads_owner_id = $user->getId(); - $localLead->users_id = $user->getId(); - } + /* if ($user) { + $localLead->leads_owner_id = $user->getId(); + $localLead->users_id = $user->getId(); + } */ $localLead->people->firstname = $zohoLead->First_Name; $localLead->people->lastname = $zohoLead->Last_Name;