fix(insuranceId space issue)

This commit is contained in:
2025-10-04 01:31:14 +05:30
parent f0657e78f2
commit 7920f40eb2
4 changed files with 95 additions and 10 deletions

View File

@@ -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`);