Skip to content

Commit

Permalink
Use NS URL for NS uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-b-m committed Jun 17, 2024
1 parent f81057c commit f7c7fe4
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 @@ -750,9 +750,9 @@ final class BaseNightscoutManager: NightscoutManager, Injectable {
{
NSLog("NightscoutManager uploadProfile, no profile change")
} else {
if isUploadEnabled {
if let ns = nightscoutAPI, isUploadEnabled {
processQueue.async {
nightscout.uploadProfile(p)
ns.uploadProfile(p)
.sink { completion in
switch completion {
case .finished:
Expand Down

0 comments on commit f7c7fe4

Please sign in to comment.