Skip to content

Commit

Permalink
Probably typo (LoopKit#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
marionbarker authored Dec 10, 2023
1 parent ea25a86 commit b63c492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Loop/Managers/RemoteDataServicesManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -561,13 +561,13 @@ extension RemoteDataServicesManager {
self.cgmEventStore.executeCgmEventQuery(fromQueryAnchor: previousQueryAnchor) { result in
switch result {
case .failure(let error):
self.log.error("Error querying pump event data: %{public}@", String(describing: error))
self.log.error("Error querying cgm event data: %{public}@", String(describing: error))
semaphore.signal()
case .success(let queryAnchor, let data):
remoteDataService.uploadCgmEventData(data) { result in
switch result {
case .failure(let error):
self.log.error("Error synchronizing pump event data: %{public}@", String(describing: error))
self.log.error("Error synchronizing cgm event data: %{public}@", String(describing: error))
self.uploadFailed(key)
case .success:
UserDefaults.appGroup?.setQueryAnchor(for: remoteDataService, withRemoteDataType: .cgmEvent, queryAnchor)
Expand Down

0 comments on commit b63c492

Please sign in to comment.