From 5bc0e0d4daeaa69cb25fca2b7f251e1b4afed921 Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Tue, 8 Oct 2024 01:02:44 +0530 Subject: [PATCH] fix daily rounds with empty bp values --- src/cron/automatedDailyRounds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cron/automatedDailyRounds.ts b/src/cron/automatedDailyRounds.ts index 1e90f46..ced821a 100644 --- a/src/cron/automatedDailyRounds.ts +++ b/src/cron/automatedDailyRounds.ts @@ -243,7 +243,7 @@ export async function getVitalsFromObservations(assetHostname: string) { temperature: number; temperature_mesured_at: string; } | null) ?? { temperature: null, temperature_measured_at: null }), - bp: getValueFromData("blood-pressure", data) ?? {}, + bp: getValueFromData("blood-pressure", data), rounds_type: "AUTOMATED", is_parsed_by_ocr: false, } as DailyRoundObservation;