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:
parent
4f9617aa2f
commit
bfecae7d61
9 changed files with 114 additions and 16 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue