http: Fix a bug of using gin

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2020-03-13 22:19:09 +08:00
parent ac1c527237
commit 8f2c7aa3a5
+1 -1
View File
@@ -94,7 +94,7 @@ func httpStart(br *Broker, cfg *RttysConfig) {
w: c.Writer,
}
req.token = c.Param("token")
req.token = c.Query("token")
br.cmdReq <- req
<-done