From 6e5497a63a1ea73886c1f90ffb4018325e574e6b Mon Sep 17 00:00:00 2001 From: Animesh Kumar <83393501+kmranimesh@users.noreply.github.com> Date: Fri, 13 Feb 2026 22:00:28 +0530 Subject: [PATCH] Fix linting errors --- routers/web/org/teams.go | 1 - services/context/org.go | 1 - 2 files changed, 2 deletions(-) diff --git a/routers/web/org/teams.go b/routers/web/org/teams.go index 6330c1b180..1446b848e2 100644 --- a/routers/web/org/teams.go +++ b/routers/web/org/teams.go @@ -67,7 +67,6 @@ func Teams(ctx *context.Context) { }, } - canSeeAllTeams, err := ctx.Org.Organization.CanUserSeeAllTeams(ctx, ctx.Doer.ID) if err != nil { ctx.ServerError("CanUserSeeAllTeams", err) diff --git a/services/context/org.go b/services/context/org.go index 78e6b1c3e0..69c327ad7c 100644 --- a/services/context/org.go +++ b/services/context/org.go @@ -171,7 +171,6 @@ func OrgAssignment(orgAssignmentOpts OrgAssignmentOptions) func(ctx *Context) { return } - // Team. if ctx.Org.IsMember { shouldSeeAllTeams, err := org.CanUserSeeAllTeams(ctx, ctx.Doer.ID)