fix storing BolusCalculatorResult

This commit is contained in:
Milos Kozak 2022-07-18 11:25:24 +02:00
parent aba08cfecd
commit d0b229b2cb

View file

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