Skip to content

Commit

Permalink
Fix undefined dateOfBirth
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbachorski committed Nov 4, 2024
1 parent 1a60736 commit 7052b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/~_dashboard/~patients/~$id/~index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const PatientPage = () => {
invitationCode: form.invitationCode,
clinician: form.clinician,
organization: clinician.organization,
dateOfBirth: form.dateOfBirth?.toISOString(),
dateOfBirth: form.dateOfBirth?.toISOString() ?? null,
}
if (resourceType === 'user') {
await callables.updateUserInformation({
Expand Down

0 comments on commit 7052b6a

Please sign in to comment.