mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Load the latest 'Sensor Stop' event in case user has a Start and Stop event that are both outside the 2-day full data load window
This commit is contained in:
@@ -297,6 +297,7 @@ function loadSensorAndInsulinTreatments(ddata, ctx, callback) {
|
||||
async.parallel([
|
||||
loadLatestSingle.bind(null, ddata, ctx, 'Sensor Start')
|
||||
,loadLatestSingle.bind(null, ddata, ctx, 'Sensor Change')
|
||||
,loadLatestSingle.bind(null, ddata, ctx, 'Sensor Stop')
|
||||
,loadLatestSingle.bind(null, ddata, ctx, 'Site Change')
|
||||
,loadLatestSingle.bind(null, ddata, ctx, 'Insulin Change')
|
||||
,loadLatestSingle.bind(null, ddata, ctx, 'Pump Battery Change')
|
||||
|
||||
Reference in New Issue
Block a user