Skip to content

Commit

Permalink
fix daily rounds with empty bp values
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Oct 7, 2024
1 parent 126bc78 commit 5bc0e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cron/automatedDailyRounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5bc0e0d

Please sign in to comment.