fix websocket endpoint
This commit is contained in:
parent
cf112ef561
commit
e08ab050ef
1
http.go
1
http.go
|
@ -186,7 +186,6 @@ func apiV1PacketSubscribe(broker *Broker, db *TelemDb) http.HandlerFunc {
|
|||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
c.Ping(r.Context())
|
||||
// closeread handles protocol/status messages,
|
||||
// also handles clients closing the connection.
|
||||
// we get a context to use from it.
|
||||
|
|
Loading…
Reference in a new issue