fix storing BolusCalculatorResult
This commit is contained in:
parent
aba08cfecd
commit
d0b229b2cb
|
@ -36,6 +36,7 @@ fun bolusCalculatorResultFromJson(jsonObject: JSONObject): BolusCalculatorResult
|
||||||
it.id = 0
|
it.id = 0
|
||||||
it.isValid = isValid
|
it.isValid = isValid
|
||||||
it.interfaceIDs.nightscoutId = id
|
it.interfaceIDs.nightscoutId = id
|
||||||
|
it.version = 0
|
||||||
}
|
}
|
||||||
} catch (e: JsonSyntaxException) {
|
} catch (e: JsonSyntaxException) {
|
||||||
null
|
null
|
||||||
|
|
Loading…
Reference in a new issue