fix contact resource

This commit is contained in:
Jérémy Munsch 2023-08-29 17:10:16 +02:00
parent f739685686
commit 5d4a1714d6
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -21,7 +21,7 @@ class ContactResource extends JsonResource
$contact = $this;
return [
'id' => $contact->id,
'name' => $contact->lastname,
'lastname' => $contact->lastname,
'firstname' => $contact->firstname,
'email' => $contact->email,
'phone' => $contact->phone,