Skip to content

Commit

Permalink
Merge pull request #1785 from bakaphp/hotfix-sync
Browse files Browse the repository at this point in the history
fix: sync owner
  • Loading branch information
kaioken committed Aug 6, 2024
2 parents 93033ce + 9c3c519 commit 8b0e72f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8b0e72f

Please sign in to comment.