Explorar el Código

Add missing type to glucose upload for NS #234

Deniz Cengiz hace 1 año
padre
commit
cc095b6750
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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"
                 )
             }
         }