Commit e38e8c74 by Torkel Ödegaard

Merge pull request #3723 from schen59/master-schen

fix mismatch api path introduced by commit to issue #3600
parents 8ff48c12 4ceab4ab
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment