Преглед изворни кода

Add missing type to glucose upload for NS #234

Deniz Cengiz пре 1 година
родитељ
комит
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"
                 )
             }
         }