mirror of
https://github.com/jech/galene.git
synced 2024-12-22 15:25:48 +01:00
Fix typo in usersHandler.
This commit is contained in:
parent
df46e6df21
commit
8fb1c1556e
1 changed files with 0 additions and 1 deletions
|
@ -280,7 +280,6 @@ func usersHandler(w http.ResponseWriter, r *http.Request, g, pth string) {
|
|||
|
||||
username := first2[1:]
|
||||
if r.Method == "HEAD" || r.Method == "GET" {
|
||||
w.Header().Set("content-type", "application/json")
|
||||
user, etag, err := group.GetSanitisedUser(g, username)
|
||||
if err != nil {
|
||||
httpError(w, err)
|
||||
|
|
Loading…
Reference in a new issue