mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 19:13:07 +08:00
teams: moved logic for searchteams to backend
This commit is contained in:

committed by
Leonard Gram

parent
782b5b6a3a
commit
b60e71c28b
@ -168,7 +168,7 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
// team without requirement of user to be org admin
|
||||
apiRoute.Group("/teams", func(teamsRoute routing.RouteRegister) {
|
||||
teamsRoute.Get("/:teamId", Wrap(GetTeamByID))
|
||||
teamsRoute.Get("/search", Wrap(SearchTeams))
|
||||
teamsRoute.Get("/search", Wrap(hs.SearchTeams))
|
||||
})
|
||||
|
||||
// org information available to all users.
|
||||
|
Reference in New Issue
Block a user