Skip to content

Commit

Permalink
Merge pull request #1594 from bakaphp/development
Browse files Browse the repository at this point in the history
update lead
  • Loading branch information
kaioken authored Jul 1, 2024
2 parents 377c8bb + c0a1622 commit 78e5e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function execute(): ?Lead
->first();
}

$status = strtolower($zohoLead->Lead_Status);
$status = ! empty($zohoLead->Lead_Status) ? strtolower($zohoLead->Lead_Status) : '';

$leadStatus = match (true) {
Str::contains($status, 'close') => LeadStatus::getByName('bad'),
Expand Down

0 comments on commit 78e5e24

Please sign in to comment.