mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
`GET /api/sleep/night` summed second-precision stage rows into asleep / awake totals and serialised them unrounded (e.g. 433.4999), which also violated the OpenAPI integer contract. Round the present minute values; `inBedMinutes` / `awakeMinutes` stay null when the night never saw that stage.