uel.log Fix Source for Dexcom calibration and Sensor insertion
This commit is contained in:
parent
50720b8497
commit
3b581dce49
1 changed files with 2 additions and 2 deletions
|
@ -158,14 +158,14 @@ class DexcomPlugin @Inject constructor(
|
||||||
}
|
}
|
||||||
result.sensorInsertionsInserted.forEach {
|
result.sensorInsertionsInserted.forEach {
|
||||||
uel.log(Action.CAREPORTAL,
|
uel.log(Action.CAREPORTAL,
|
||||||
Sources.BG,
|
Sources.Dexcom,
|
||||||
ValueWithUnit.Timestamp(it.timestamp),
|
ValueWithUnit.Timestamp(it.timestamp),
|
||||||
ValueWithUnit.TherapyEventType(it.type))
|
ValueWithUnit.TherapyEventType(it.type))
|
||||||
aapsLogger.debug(LTag.DATABASE, "Inserted sensor insertion $it")
|
aapsLogger.debug(LTag.DATABASE, "Inserted sensor insertion $it")
|
||||||
}
|
}
|
||||||
result.calibrationsInserted.forEach {
|
result.calibrationsInserted.forEach {
|
||||||
uel.log(Action.CAREPORTAL,
|
uel.log(Action.CAREPORTAL,
|
||||||
Sources.BG,
|
Sources.Dexcom,
|
||||||
ValueWithUnit.Timestamp(it.timestamp),
|
ValueWithUnit.Timestamp(it.timestamp),
|
||||||
ValueWithUnit.TherapyEventType(it.type))
|
ValueWithUnit.TherapyEventType(it.type))
|
||||||
aapsLogger.debug(LTag.DATABASE, "Inserted calibration $it")
|
aapsLogger.debug(LTag.DATABASE, "Inserted calibration $it")
|
||||||
|
|
Loading…
Reference in a new issue