Skip to content

Commit

Permalink
Merge branch 'dev' into bugfix/remove-remote-override-otp
Browse files Browse the repository at this point in the history
  • Loading branch information
bewest committed Aug 14, 2022
2 parents a5fcc84 + df85fd2 commit 3213835
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/server/loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3213835

Please sign in to comment.