mirror of https://github.com/grafana/grafana.git
				
				
				
			Merge pull request #3723 from schen59/master-schen
fix mismatch api path introduced by commit to issue #3600
This commit is contained in:
		
						commit
						e38e8c740f
					
				|  | @ -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