fix(insuranceId space issue)
This commit is contained in:
@@ -87,7 +87,7 @@ export const patientsStorage: IStorage = {
|
||||
try {
|
||||
return await db.patient.update({
|
||||
where: { id },
|
||||
data: updateData,
|
||||
data: updateData as Patient,
|
||||
});
|
||||
} catch (err) {
|
||||
throw new Error(`Patient with ID ${id} not found`);
|
||||
|
||||
Reference in New Issue
Block a user