diff --git a/lib/server/loop.js b/lib/server/loop.js index 4ef8bedd2a2..83a488ef72d 100644 --- a/lib/server/loop.js +++ b/lib/server/loop.js @@ -81,6 +81,9 @@ function init (env, ctx) { if (data.otp !== undefined && data.otp.length > 0) { payload["otp"] = ""+data.otp } + if (data.created_at !== undefined) { + payload['start-time'] = data.created_at; + } alert = "Remote Carbs Entry: "+payload["carbs-entry"]+" grams\n"; alert += "Absorption Time: "+payload["absorption-time"]+" hours"; } else {