Преглед на файлове

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",
                 key: "date",
                 ascending: false,
                 ascending: false,
                 batchSize: 100,
                 batchSize: 100,
-                propertiesToFetch: ["glucose", "date", "objectID"]
+                propertiesToFetch: ["glucose", "objectID"]
             )
             )
 
 
             guard let fetchedResults = results as? [GlucoseStored] else { return [] }
             guard let fetchedResults = results as? [GlucoseStored] else { return [] }