Skip to content

Commit

Permalink
Merge pull request #118 from avouspierre/alpha
Browse files Browse the repository at this point in the history
Fix units error in basal for TidePool
  • Loading branch information
bjornoleh committed Apr 16, 2024
2 parents 1748082 + 55f836b commit 135f8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FreeAPS/Sources/Services/Network/TidepoolManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ final class BaseTidePoolManager: TidePoolManager, Injectable {
type: .tempBasal,
startDate: event.timestamp,
value: 0.0,
unit: .unitsPerHour,
unit: .units,
syncIdentifier: event.id,
scheduledBasalRate: HKQuantity(unit: .internationalUnitsPerHour, doubleValue: Double(event.rate!)),
insulinType: nil,
Expand Down

0 comments on commit 135f8b1

Please sign in to comment.