diff options
Diffstat (limited to 'routers/org/members.go')
-rw-r--r-- | routers/org/members.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/routers/org/members.go b/routers/org/members.go index 9f13d1be3f..00ca381ad0 100644 --- a/routers/org/members.go +++ b/routers/org/members.go @@ -11,8 +11,6 @@ import ( "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/setting" - - "github.com/unknwon/com" ) const ( @@ -70,7 +68,7 @@ func Members(ctx *context.Context) { // MembersAction response for operation to a member of organization func MembersAction(ctx *context.Context) { - uid := com.StrTo(ctx.Query("uid")).MustInt64() + uid := ctx.QueryInt64("uid") if uid == 0 { ctx.Redirect(ctx.Org.OrgLink + "/members") return |