Skip to content

Commit e29ab2b

Browse files
fix bug where builder.In cond for groups and teams was not placed into the builder.Or cond
1 parent 0bac822 commit e29ab2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

models/repo/org_repo.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ func GetTeamRepositories(ctx context.Context, opts *SearchTeamRepoOptions) (Repo
3535
builder.In("id", builder.Select("repo_id").
3636
From("team_repo").
3737
Where(builder.Eq{"team_id": opts.TeamID}),
38-
)),
39-
builder.In("id", ReposAccessibleByGroupTeamBuilder(opts.TeamID)),
38+
),
39+
builder.In("id", ReposAccessibleByGroupTeamBuilder(opts.TeamID)),
40+
),
4041
)
4142
}
4243
if opts.PageSize > 0 {

0 commit comments

Comments
 (0)