Skip to content

Commit 47bf2ad

Browse files
authored
Merge pull request #8025 from bakaphp/refactor-follow-up
[1.x] Refactor follow up
2 parents 4d9c838 + 0e7f853 commit 47bf2ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Console/Commands/Connectors/Elead/DownloadAllLeadsCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Kanvas\Guild\Leads\Actions\SyncLeadByThirdPartyCustomFieldAction;
1818
use Kanvas\Guild\Leads\Enums\ConfigurationEnum;
1919
use Kanvas\Guild\Leads\Models\Lead as ModelsLead;
20+
use Kanvas\Intelligence\Triggers\Enums\TriggersEnum;
2021
use Kanvas\Users\Models\Users;
2122
use Kanvas\Workflow\Enums\WorkflowEnum;
2223
use Throwable;
@@ -152,6 +153,8 @@ public function handle(): void
152153
true,
153154
[
154155
'app' => $app,
156+
'company' => $lead->company,
157+
'trigger_type' => TriggersEnum::NEW_LEAD->value,
155158
]
156159
);
157160
$successCount++;

0 commit comments

Comments
 (0)