diff --git a/Sources/VitalHealthKit/HealthKit/HealthKitReads.swift b/Sources/VitalHealthKit/HealthKit/HealthKitReads.swift index cc94a91..c45826b 100644 --- a/Sources/VitalHealthKit/HealthKit/HealthKitReads.swift +++ b/Sources/VitalHealthKit/HealthKit/HealthKitReads.swift @@ -276,7 +276,7 @@ func read( endDate: instruction.query.upperBound ) - return (.timeSeries(.temperature(payload.samples)), payload.anchors) + return (.timeSeries(.respiratoryRate(payload.samples)), payload.anchors) case .individual(.exerciseTime), .individual(.bodyFat), .individual(.weight): throw VitalHealthKitClientError.invalidRemappedResource