diff --git a/plugin/api/rbac/user.go b/plugin/api/rbac/user.go index d9bff0de..662ded0a 100644 --- a/plugin/api/rbac/user.go +++ b/plugin/api/rbac/user.go @@ -150,7 +150,7 @@ func (h Rbac) SearchUser(w http.ResponseWriter, r *http.Request, ps httprouter.P return } - h.WriteOKJSON(w, res) + h.Write(w, res.Raw) return }