more refactors

This commit is contained in:
2026-02-08 19:57:12 +11:00
parent 1a2bdaf4cf
commit 97342e08fe
17 changed files with 334 additions and 308 deletions

View File

@@ -14,7 +14,7 @@ import (
// AdminUsersList shows all users
func AdminUsersList(s *hws.Server, conn *bun.DB) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
var users *db.Users
var users *db.List[db.User]
pageOpts := pageOptsFromForm(s, w, r)
if pageOpts == nil {
return