Przeglądaj źródła

remove date from properties to fetch as this isn't necessary

polscm32 aka Marvout 1 rok temu
rodzic
commit
c80b35e0a6

+ 1 - 1
FreeAPS/Sources/Modules/Stat/StatStateModel.swift

@@ -67,7 +67,7 @@ extension Stat {
                 key: "date",
                 ascending: false,
                 batchSize: 100,
-                propertiesToFetch: ["glucose", "date", "objectID"]
+                propertiesToFetch: ["glucose", "objectID"]
             )
 
             guard let fetchedResults = results as? [GlucoseStored] else { return [] }