Browse Source

Add missing type to glucose upload for NS #234

Deniz Cengiz 1 year ago
parent
commit
cc095b6750
1 changed files with 2 additions and 1 deletions
  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"
                 )
             }
         }