Skip to content

Commit

Permalink
Merge pull request #1593 from bakaphp/feat-group-by-message
Browse files Browse the repository at this point in the history
fix : status
  • Loading branch information
kaioken authored Jul 1, 2024
2 parents 5713749 + 401537d commit c0a1622
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 c0a1622

Please sign in to comment.