list members of organization handler (#537)

This commit is contained in:
Michael Quigley
2024-12-09 14:21:49 -05:00
parent 4473571b37
commit 6fb69c59d2
18 changed files with 282 additions and 22 deletions

View File

@@ -678,7 +678,7 @@ func (o *ZrokAPI) initHandlerCache() {
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/organization/members"] = admin.NewListOrganizationMembers(o.context, o.AdminListOrganizationMembersHandler)
o.handlers["POST"]["/organization/list"] = admin.NewListOrganizationMembers(o.context, o.AdminListOrganizationMembersHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}