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