This commit is contained in:
Adrian Hopek
2022-04-22 14:15:09 +02:00
parent 2a75534c52
commit 851a52fe32
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class UserFormDataResource extends JsonResource
"position" => $this->profile->position,
"employmentForm" => $this->profile->employment_form,
"employmentDate" => $this->profile->employment_date->toDateString(),
"birthday" => $this->profile->birthday->toDateString(),
"birthday" => $this->profile->birthday?->toDateString(),
"slackId" => $this->profile->slack_id,
];
}