5
0
Fork 0

fixed syntax error

master
Daniel Lim 2019-07-27 14:13:08 +08:00
parent b6111a1f44
commit 0e81595469
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func AuthMiddleware(next httprouter.Handle) httprouter.Handle {
return
}
if client.UserId == "" || ClientId == "" {
if client.UserId == "" || client.ClientId == "" {
http.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest)
return
}