mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
The shipped iPhone app cannot see the schedule of a medication kept as a record, because it is served with an empty schedules list. Its editor opens such a medication as daily at 08:00 and, once any schedule field is touched, sends a full replacement built from that default, plus asNeeded and oneShot, and never trackIntake. On a record-only medication the update route now drops schedules, asNeeded and oneShot from a write that does not name trackIntake and applies the rest. The web schedule editor and the wizard name the flag on every save.