mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
contact key
This commit is contained in:
parent
a6579e43df
commit
63ec6d6fcf
@ -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…
x
Reference in New Issue
Block a user