1
Fork 0

Fix typo in usersHandler.

This commit is contained in:
Juliusz Chroboczek 2024-04-14 01:10:02 +02:00
parent df46e6df21
commit 8fb1c1556e
1 changed files with 0 additions and 1 deletions

View File

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