- add phone resource

This commit is contained in:
2023-07-03 21:37:58 +02:00
parent 95ae8c562d
commit ac90d45519
2 changed files with 21 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ class CVResource extends JsonResource
'email' => $this->email,
'phoneNumber' => $this->phoneNumber,
'formattedPhoneNumber' => $this->formattedPhoneNumber,
'phone' => new PhoneResource($this->resource),
'locations' => $this->locations,
];
}