Преглед изворни кода

revert port as string

master
Jonathan Cobb пре 4 година
родитељ
комит
8ffa6242e4
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      src/admin.rs

+ 2
- 2
src/admin.rs Прегледај датотеку

@@ -31,7 +31,7 @@ struct AdminRegistration {
#[derive(Debug, Deserialize, Serialize, Clone)]
struct BubbleRegistration {
ip: String,
port: String,
port: u16,
auth_token: String
}

@@ -86,7 +86,7 @@ async fn handle_register(registration : AdminRegistration,
// create the registration object
let bubble_registration = BubbleRegistration {
ip: proxy_ip,
port: proxy_port.to_string(),
port: proxy_port,
auth_token: token
};



Loading…
Откажи
Сачувај