mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Found typo while reading code comments (#41740)
This commit is contained in:
parent
5452c069f7
commit
d76cea45b5
@ -24,7 +24,7 @@ func GetOrgByID(c *models.ReqContext) response.Response {
|
|||||||
return getOrgHelper(c.Req.Context(), c.ParamsInt64(":orgId"))
|
return getOrgHelper(c.Req.Context(), c.ParamsInt64(":orgId"))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get /api/orgs/name/:name
|
// GET /api/orgs/name/:name
|
||||||
func (hs *HTTPServer) GetOrgByName(c *models.ReqContext) response.Response {
|
func (hs *HTTPServer) GetOrgByName(c *models.ReqContext) response.Response {
|
||||||
org, err := hs.SQLStore.GetOrgByName(web.Params(c.Req)[":name"])
|
org, err := hs.SQLStore.GetOrgByName(web.Params(c.Req)[":name"])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user