TemporaryTarget: fix sync
This commit is contained in:
parent
d3d28605d8
commit
02a8917878
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ fun TemporaryTarget.toJson(isAdd: Boolean, units: GlucoseUnit, dateUtil: DateUti
|
|||
.put("durationInMilliseconds", duration)
|
||||
.put("isValid", isValid)
|
||||
.put("created_at", dateUtil.toISOString(timestamp))
|
||||
.put("timestamp", timestamp)
|
||||
.put("enteredBy", "AndroidAPS").also {
|
||||
if (lowTarget > 0) it
|
||||
.put("reason", reason.text)
|
||||
|
|
Loading…
Reference in a new issue