fixed syntax error
parent
b6111a1f44
commit
0e81595469
2
main.go
2
main.go
|
@ -87,7 +87,7 @@ func AuthMiddleware(next httprouter.Handle) httprouter.Handle {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if client.UserId == "" || ClientId == "" {
|
if client.UserId == "" || client.ClientId == "" {
|
||||||
http.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest)
|
http.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue