mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
fix(apple-health): show a written-back type's newest reading on its row
A reading entered here goes to Apple Health as well, and the quiet verdict already counted it, but the row still showed the newest reading that arrived from the phone, so a type entered two minutes ago read one day old. The server now resolves lastSeenAt to the newer of the two for the types the app writes back, and the row and the verdict agree. Refs #1247
This commit is contained in:
1 parent
a0e725556b
commit
628f37bc62
4 files changed
+19
-8
No files matched your search
@@ -77130,7 +77130,9 @@ components:
|
||||
glucose while their entry is `bidirectional` or `writeOnly` and enabled): when the newest reading of the
|
||||
type was entered here rather than arriving from Apple Health, or null when none was. Such readings go to the
|
||||
phone and never come back as an arrival, so `stale` already counts them: the type is quiet only when both
|
||||
this and `lastSeenAt` are. Show it as the server sends it; do not recompute `stale`."
|
||||
are. Since v1.43.9 `lastSeenAt` on such a type is the newer of this and the newest reading from Apple
|
||||
Health, because a reading entered here is in Apple Health too; show both as the server sends them and do not
|
||||
recompute `stale`."
|
||||
anyOf:
|
||||
- type: string
|
||||
format: date-time
|
||||
|
||||
Reference in new issue
Block a user