فهرست منبع

revert, insulin and carbs have id

Rhys 4 ماه پیش
والد
کامیت
7baf75a666
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 2 2
      Trio/Sources/Services/Network/Nightscout/NightscoutAPI.swift
  2. 1 0
      cgm-remote-monitor

+ 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