Browse Source

fixed syntax error

master
Daniel Lim 2 years ago
parent
commit
0e81595469
  1. 2
      main.go

2
main.go

@ -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
}

Loading…
Cancel
Save