fix connection note

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-07-01 09:40:04 +08:00
1 parent 3e321327a4
commit 89071a4fdb
5 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -1348,6 +1348,6 @@ async fn start_one_port_forward<T: InvokeUiSession>(
#[tokio::main(flavor = "current_thread")]
async fn send_note(url: String, id: String, conn_id: i32, note: String) {
let body = serde_json::json!({ "id": id, "Id": conn_id, "note": note });
let body = serde_json::json!({ "id": id, "conn_id": conn_id, "note": note });
allow_err!(crate::post_request(url, body.to_string(), "").await);
}