Skip to content

Commit

Permalink
Merge pull request #917 from bakaphp/feat-agent-owner-id
Browse files Browse the repository at this point in the history
fix: signup
  • Loading branch information
kaioken authored Feb 9, 2024
2 parents c0be6db + 2724395 commit 2e2f207
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected function createAgent(AppInterface $app, ZohoService $zohoService, User
}
}

if ($companyDefaultUseRotation) {
if ($companyDefaultUseRotation && $ownerMemberNumber === null) {
try {
$rotation = LeadRotation::getByIdFromCompany($companyDefaultUseRotation, $company);
$agentUser = $rotation->getAgent();
Expand Down

0 comments on commit 2e2f207

Please sign in to comment.