Skip to content

Commit

Permalink
VIT-7206: Fix respiratory rate data being mis-tagged as temperature d…
Browse files Browse the repository at this point in the history
…ata (#235)
  • Loading branch information
andersio authored Aug 16, 2024
1 parent ed5e99e commit 22d0151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/VitalHealthKit/HealthKit/HealthKitReads.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22d0151

Please sign in to comment.