1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Rename usersHandler.

This commit is contained in:
Juliusz Chroboczek 2024-04-14 01:04:44 +02:00
parent bbd9ef1f5c
commit df46e6df21

View file

@ -126,7 +126,7 @@ func apiGroupHandler(w http.ResponseWriter, r *http.Request, pth string) {
}
if kind == ".users" {
apiUserHandler(w, r, g, rest)
usersHandler(w, r, g, rest)
return
} else if kind == ".fallback-users" && rest == "" {
fallbackUsersHandler(w, r, g)
@ -232,7 +232,7 @@ func apiGroupHandler(w http.ResponseWriter, r *http.Request, pth string) {
return
}
func apiUserHandler(w http.ResponseWriter, r *http.Request, g, pth string) {
func usersHandler(w http.ResponseWriter, r *http.Request, g, pth string) {
if pth == "/" {
if !checkAdmin(w, r) {
return