Explorar el Código

Add missing type for NS upload #234

Deniz Cengiz hace 1 año
padre
commit
7a3912e315
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      FreeAPS/Sources/APS/Storage/GlucoseStorage.swift

+ 2 - 1
FreeAPS/Sources/APS/Storage/GlucoseStorage.swift

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