diff --git a/functions/src/services/trigger/triggerService.ts b/functions/src/services/trigger/triggerService.ts index ddf5daf1..320ca0e0 100644 --- a/functions/src/services/trigger/triggerService.ts +++ b/functions/src/services/trigger/triggerService.ts @@ -487,7 +487,7 @@ export class TriggerService { return { systolicBloodPressure: ( await patientService.getBloodPressureObservations(userId, cutoffDate) - ).map((value) => value[0]), + )[0], heartRate: await patientService.getHeartRateObservations( userId, cutoffDate,