Skip to content

Commit

Permalink
Silent error
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbachorski committed Oct 1, 2024
1 parent 835f7ab commit 6bea8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export const createAppointment = async (
resourceType: payload.resourceType,
}),
{
// @ts-expect-error id can be null, because FHIRAppointment.id is nullable. id is overridden by getDocData
id: null,
created: new Date().toISOString(),
...getAppointmentData(payload),
Expand Down

0 comments on commit 6bea8b0

Please sign in to comment.