Просмотр исходного кода

Fix autosens-prepare to include timestamp for IoB history input

Sam King 4 месяцев назад
Родитель
Сommit
06d7a6897b
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      TrioTests/OpenAPSSwiftTests/javascript/bundle/autosens-prepare.js

+ 2 - 1
TrioTests/OpenAPSSwiftTests/javascript/bundle/autosens-prepare.js

@@ -13,7 +13,8 @@ function generate(glucose_data, pumphistory_data, basalprofile, profile_data, ca
     
     var iob_inputs = {
         history: pumphistory_data,
-        profile: profile_data
+        profile: profile_data,
+        clock: now
     };
 
     var detection_inputs = {