uel.log Fix Source for Dexcom calibration and Sensor insertion

This commit is contained in:
Philoul 2021-05-12 01:24:03 +02:00
parent 50720b8497
commit 3b581dce49

View file

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