From f92b32691d30b1c23253d30fde175a70d71603cc Mon Sep 17 00:00:00 2001 From: Paul Kraft Date: Wed, 20 Nov 2024 15:22:24 -0800 Subject: [PATCH] fix --- functions/src/services/trigger/triggerService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,