Skip to content

Commit 5584086

Browse files
committed
fix: update isMedicalReport handling to correctly reflect boolean values
1 parent f365669 commit 5584086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/reports/reports.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export class ReportsService {
422422
{ field: 'confidence', value: report.confidence },
423423
{ field: 'status', value: report.status },
424424
{ field: 'missingInformation', value: report.missingInformation || [] },
425-
{ field: 'isMedicalReport', value: report.isMedicalReport || undefined },
425+
{ field: 'isMedicalReport', value: report.isMedicalReport === false ? false : true },
426426
{ field: 'errorMessage', value: report.errorMessage || '' },
427427
{ field: 'updatedAt', value: report.updatedAt },
428428
];

0 commit comments

Comments
 (0)