mirror of
https://github.com/aljazceru/khatru.git
synced 2025-12-18 22:14:22 +01:00
fix some query bugs.
This commit is contained in:
@@ -84,6 +84,9 @@ func handleWebsocket(w http.ResponseWriter, r *http.Request) {
|
||||
err = errors.New("request has less than parameters")
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
var typ string
|
||||
json.Unmarshal(request[0], &typ)
|
||||
|
||||
Reference in New Issue
Block a user