mirror of https://github.com/grafana/grafana.git
Fix param
This commit is contained in:
parent
fb5c59c611
commit
215242128b
|
|
@ -118,7 +118,7 @@ func GetSignedInUserTeamList(c *m.ReqContext) Response {
|
|||
|
||||
// GET /api/users/:id/teams
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue