fix contact resource
This commit is contained in:
parent
f739685686
commit
5d4a1714d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue