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:
parent
be33fd7749
commit
6e5497a63a
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user