diff --git a/LoopCaregiverKit/Sources/LoopCaregiverKit/Nightscout/NightscoutDataSource.swift b/LoopCaregiverKit/Sources/LoopCaregiverKit/Nightscout/NightscoutDataSource.swift index 106e2bda..ad60ef08 100644 --- a/LoopCaregiverKit/Sources/LoopCaregiverKit/Nightscout/NightscoutDataSource.swift +++ b/LoopCaregiverKit/Sources/LoopCaregiverKit/Nightscout/NightscoutDataSource.swift @@ -39,7 +39,7 @@ public class NightscoutDataSource: ObservableObject, RemoteDataServiceProvider { } }) .map({ $0.toGlucoseSample() }) - if result.count < maxFetchCount() { + if result.count >= maxFetchCount() { print("Hit max glucose count: Consider increasing") } return result