0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-31 20:01:40 +02:00

Fix linting errors

This commit is contained in:
Animesh Kumar 2026-02-13 22:00:28 +05:30
parent be33fd7749
commit 6e5497a63a
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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)