Browse Source

revert, insulin and carbs have id

Rhys 3 months ago
parent
commit
7baf75a666

+ 2 - 2
Trio/Sources/Services/Network/Nightscout/NightscoutAPI.swift

@@ -167,7 +167,7 @@ extension NightscoutAPI {
         components.path = Config.treatmentsPath
 
         components.queryItems = [
-            URLQueryItem(name: "find[_id][$eq]", value: id)
+            URLQueryItem(name: "find[id][$eq]", value: id)
         ]
 
         var request = URLRequest(url: components.url!)
@@ -227,7 +227,7 @@ extension NightscoutAPI {
         components.port = url.port
         components.path = Config.treatmentsPath
         components.queryItems = [
-            URLQueryItem(name: "find[_id][$eq]", value: id)
+            URLQueryItem(name: "find[id][$eq]", value: id)
         ]
 
         guard let url = components.url else {

+ 1 - 0
cgm-remote-monitor

@@ -0,0 +1 @@
+Subproject commit 91cd601038a3bce00f92655cc6b1cc02fa3589d3