diff --git a/src/incidents/hooks/useReportIncident.tsx b/src/incidents/hooks/useReportIncident.tsx index 1421e4ff88..158677117c 100644 --- a/src/incidents/hooks/useReportIncident.tsx +++ b/src/incidents/hooks/useReportIncident.tsx @@ -15,7 +15,7 @@ export function reportIncident(incident: Incident): Promise { ...incident, code: getIncidentCode(), status: 'reported', - reportedBy: 'some user', + reportedBy: incident.reportedBy, reportedOn: new Date(Date.now()).toISOString(), } return IncidentRepository.save(updatedIncident)