Fixes for import
This commit is contained in:
parent
b58d3f390e
commit
cf98a03d0e
1 changed files with 3 additions and 1 deletions
|
|
@ -1645,7 +1645,7 @@ class Import implements ShouldQueue
|
|||
return $response->getBody();
|
||||
}
|
||||
|
||||
private function buildNewUserPlan() :Client
|
||||
private function buildNewUserPlan()
|
||||
{
|
||||
$local_company = Company::find($this->company->id);
|
||||
$owner = $local_company->owner();
|
||||
|
|
@ -1677,6 +1677,8 @@ class Import implements ShouldQueue
|
|||
$ninja_client_contact->phone = $owner->phone;
|
||||
$ninja_client_contact->save();
|
||||
|
||||
|
||||
return $ninja_client;
|
||||
}
|
||||
|
||||
private function processNinjaTokens(array $data)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue