show error in h value
This commit is contained in:
parent
33ca1fba6f
commit
ecc12333e1
|
@ -289,7 +289,7 @@ func userMicropubHandler(repo *owl.Repository) func(http.ResponseWriter, *http.R
|
||||||
|
|
||||||
if h != "entry" {
|
if h != "entry" {
|
||||||
w.WriteHeader(http.StatusBadRequest)
|
w.WriteHeader(http.StatusBadRequest)
|
||||||
w.Write([]byte("Bad request. h must be entry"))
|
w.Write([]byte("Bad request. h must be entry. Got " + h))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if content == "" {
|
if content == "" {
|
||||||
|
|
Loading…
Reference in New Issue