Просмотр исходного кода

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

polscm32 aka Marvout 1 год назад
Родитель
Сommit
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 [] }