Add district resource and an API to RMO

We're going to need an API for the single-page frontend
This commit is contained in:
Eli Ribble 2026-04-03 18:17:19 +00:00
parent 4f9617aa2f
commit bfecae7d61
No known key found for this signature in database
9 changed files with 114 additions and 16 deletions

View file

@ -115,7 +115,7 @@ func UserList(ctx context.Context, user User) ([]*User, error) {
var orgByID map[int32]*Organization
if user.HasRoot() {
query = models.Users.Query()
orgs, err := OrganizationList(ctx, user)
orgs, err := OrganizationList(ctx)
if err != nil {
return nil, fmt.Errorf("org list: %w", err)
}