From ee3dab54ba63926daafd96048b6df62bc375027f Mon Sep 17 00:00:00 2001 From: SidneyNiccolson Date: Tue, 26 Jun 2018 17:59:14 +0200 Subject: [PATCH] typo in server.rs --- src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.rs b/src/server.rs index dcb83815..69d256c9 100644 --- a/src/server.rs +++ b/src/server.rs @@ -205,8 +205,8 @@ fn connect(req: &mut Request) -> IronResult { let params = get_request_ref!(req, Params, "Getting request params failed"); let ssid = get_param!(params, "ssid", String); let passphrase = get_param!(params, "passphrase", String); - let api = get_param!(params, "API", String); - let ws = get_param!(params, "WS", String); + let api = get_param!(params, "api", String); + let ws = get_param!(params, "ws", String); let serial = get_param!(params, "serial", String); let secret = get_param!(params, "secret", String); (ssid, passphrase, api, ws, serial, secret)