Commit 8fb1c155 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in usersHandler.

parent df46e6df
...@@ -280,7 +280,6 @@ func usersHandler(w http.ResponseWriter, r *http.Request, g, pth string) { ...@@ -280,7 +280,6 @@ func usersHandler(w http.ResponseWriter, r *http.Request, g, pth string) {
username := first2[1:] username := first2[1:]
if r.Method == "HEAD" || r.Method == "GET" { if r.Method == "HEAD" || r.Method == "GET" {
w.Header().Set("content-type", "application/json")
user, etag, err := group.GetSanitisedUser(g, username) user, etag, err := group.GetSanitisedUser(g, username)
if err != nil { if err != nil {
httpError(w, err) httpError(w, err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment