TemporaryTarget: fix sync

This commit is contained in:
Milos Kozak 2022-04-03 20:09:39 +02:00
parent d3d28605d8
commit 02a8917878

View file

@ -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)