Explorar o código

Merge pull request #3723 from schen59/master-schen

fix mismatch api path introduced by commit to issue #3600
Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
e38e8c740f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/api/org.go

+ 1 - 1
pkg/api/org.go

@@ -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 {