From 3b581dce49d3721a0d102728d5763a11b0ab1646 Mon Sep 17 00:00:00 2001 From: Philoul Date: Wed, 12 May 2021 01:24:03 +0200 Subject: [PATCH] uel.log Fix Source for Dexcom calibration and Sensor insertion --- .../info/nightscout/androidaps/plugins/source/DexcomPlugin.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/source/DexcomPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/source/DexcomPlugin.kt index e7c9f06407..d1f02d3871 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/source/DexcomPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/source/DexcomPlugin.kt @@ -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")