Skip to content

Commit

Permalink
Merge pull request #61 from bjornoleh/upload_suggested
Browse files Browse the repository at this point in the history
NightscoutManager.swift: Upload both suggested and enacted to NS
  • Loading branch information
bjornoleh committed Apr 8, 2024
2 parents 1102a36 + b57920d commit 49a4b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FreeAPS/Sources/Services/Network/NightscoutManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,11 @@ final class BaseNightscoutManager: NightscoutManager, Injectable {

var openapsStatus: OpenAPSStatus

// Only upload suggested in Open Loop Mode. Only upload enacted in Closed Loop Mode.
// Only upload suggested in Open Loop Mode. Upload suggested and enacted in Closed Loop Mode.
if loopIsClosed {
openapsStatus = OpenAPSStatus(
iob: iob?.first,
suggested: nil,
suggested: suggested,
enacted: enacted,
version: "0.7.1"
)
Expand Down

0 comments on commit 49a4b83

Please sign in to comment.