contact key
This commit is contained in:
parent
a6579e43df
commit
63ec6d6fcf
2 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class ClientContactRepository extends BaseRepository
|
|||
$update_contact->client_id = $client->id;
|
||||
$update_contact->company_id = $client->company_id;
|
||||
$update_contact->user_id = $client->user_id;
|
||||
|
||||
$update_contact->contact_key = Str::random(40);
|
||||
}
|
||||
|
||||
$update_contact->fill($contact);
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ class ClientContactTransformer extends EntityTransformer
|
|||
'custom_value2' => $contact->custom_value2 ?: '',
|
||||
'custom_value3' => $contact->custom_value3 ?: '',
|
||||
'custom_value4' => $contact->custom_value4 ?: '',
|
||||
'contact_key' => $contact->contact_key,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue