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

Add missing type to glucose upload for NS #234

Deniz Cengiz 1 год назад
Родитель
Сommit
cc095b6750
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      FreeAPS/Sources/APS/FetchGlucoseManager.swift

+ 2 - 1
FreeAPS/Sources/APS/FetchGlucoseManager.swift

@@ -213,7 +213,8 @@ final class BaseFetchGlucoseManager: FetchGlucoseManager, Injectable {
                     unfiltered: Decimal(result.glucose),
                     filtered: Decimal(result.glucose),
                     noise: nil,
-                    glucose: Int(result.glucose)
+                    glucose: Int(result.glucose),
+                    type: "sgv"
                 )
             }
         }