fixed contact person update issue

This commit is contained in:
Cihan Şentürk 2023-10-13 17:17:38 +03:00 committed by GitHub
parent 314da16d22
commit e1f73ad4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ class CreateContactPersons extends Job implements HasOwner, HasSource, ShouldCre
'company_id' => $this->contact->company_id,
'type' => $this->contact->type,
'contact_id' => $this->contact->id,
'name' => $person['name'],
'email' => $person['email'],
'phone' => $person['phone'],
'name' => $person['name'] ?? null,
'email' => $person['email'] ?? null,
'phone' => $person['phone'] ?? null,
'created_from' => $this->request['created_from'],
'created_by' => $this->request['created_by'],
]);