From 215242128bdefb5aa0cb6e7e537760b936ad0370 Mon Sep 17 00:00:00 2001 From: supercharlesliu Date: Mon, 19 Nov 2018 17:09:45 +0800 Subject: [PATCH] Fix param --- pkg/api/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/user.go b/pkg/api/user.go index f03f2d90990..6db9c6f6baf 100644 --- a/pkg/api/user.go +++ b/pkg/api/user.go @@ -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 {