Commit 21524212 by supercharlesliu

Fix param

parent fb5c59c6
...@@ -118,7 +118,7 @@ func GetSignedInUserTeamList(c *m.ReqContext) Response { ...@@ -118,7 +118,7 @@ func GetSignedInUserTeamList(c *m.ReqContext) Response {
// GET /api/users/:id/teams // GET /api/users/:id/teams
func GetUserTeams(c *m.ReqContext) Response { func GetUserTeams(c *m.ReqContext) Response {
return getUserTeamList(c.OrgId, c.ParamsInt64("id")) return getUserTeamList(c.OrgId, c.ParamsInt64(":id"))
} }
func getUserTeamList(userID int64, orgID int64) Response { func getUserTeamList(userID int64, orgID int64) Response {
......
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