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

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

polscm32 aka Marvout пре 1 година
родитељ
комит
c80b35e0a6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      FreeAPS/Sources/Modules/Stat/StatStateModel.swift

+ 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 [] }