mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
fix mismatch api path
This commit is contained in:
parent
dc427d5a2c
commit
4ceab4abc7
@ -20,7 +20,7 @@ func GetOrgById(c *middleware.Context) Response {
|
||||
return getOrgHelper(c.ParamsInt64(":orgId"))
|
||||
}
|
||||
|
||||
// Get /api/orgs/:name
|
||||
// Get /api/orgs/name/:name
|
||||
func GetOrgByName(c *middleware.Context) Response {
|
||||
query := m.GetOrgByNameQuery{Name: c.Params(":name")}
|
||||
if err := bus.Dispatch(&query); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user