diff --git a/app/doctor/analysis/[id]/page.tsx b/app/doctor/analysis/[id]/page.tsx index e07f855..2e47ce7 100644 --- a/app/doctor/analysis/[id]/page.tsx +++ b/app/doctor/analysis/[id]/page.tsx @@ -28,7 +28,7 @@ async function AnalysisPage({ if (analysisResultDetails) { await createDoctorPageViewLog({ action: DoctorPageViewAction.VIEW_ANALYSIS_RESULTS, - recordKey: id, + recordKey: analysisResponseId, dataOwnerUserId: analysisResultDetails.patient.userId, }); }