From 4ceab4abc71c0106171f661e124b31c2b17bf466 Mon Sep 17 00:00:00 2001 From: Shaofeng Chen Date: Wed, 13 Jan 2016 10:42:57 -0800 Subject: [PATCH] fix mismatch api path --- pkg/api/org.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/org.go b/pkg/api/org.go index a64c6134eba..0316116b6d3 100644 --- a/pkg/api/org.go +++ b/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 {