Found typo while reading code comments (#41740)

This commit is contained in:
Ursula Kallio 2021-11-17 15:19:45 +01:00 committed by GitHub
parent 5452c069f7
commit d76cea45b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ func GetOrgByID(c *models.ReqContext) response.Response {
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 {
org, err := hs.SQLStore.GetOrgByName(web.Params(c.Req)[":name"])
if err != nil {