Merge pull request #511 from Philoul/Fix_uel_log_dexcom
uel.log Fix Source for Dexcom calibration and Sensor insertion
This commit is contained in:
commit
aff529dd1a
|
@ -158,14 +158,14 @@ class DexcomPlugin @Inject constructor(
|
|||
}
|
||||
result.sensorInsertionsInserted.forEach {
|
||||
uel.log(Action.CAREPORTAL,
|
||||
Sources.BG,
|
||||
Sources.Dexcom,
|
||||
ValueWithUnit.Timestamp(it.timestamp),
|
||||
ValueWithUnit.TherapyEventType(it.type))
|
||||
aapsLogger.debug(LTag.DATABASE, "Inserted sensor insertion $it")
|
||||
}
|
||||
result.calibrationsInserted.forEach {
|
||||
uel.log(Action.CAREPORTAL,
|
||||
Sources.BG,
|
||||
Sources.Dexcom,
|
||||
ValueWithUnit.Timestamp(it.timestamp),
|
||||
ValueWithUnit.TherapyEventType(it.type))
|
||||
aapsLogger.debug(LTag.DATABASE, "Inserted calibration $it")
|
||||
|
|
Loading…
Reference in a new issue