aboutsummaryrefslogtreecommitdiffstats
path: root/models/organization/team_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/organization/team_repo.go')
-rw-r--r--models/organization/team_repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/organization/team_repo.go b/models/organization/team_repo.go
index e6b50ecff7..1184e39263 100644
--- a/models/organization/team_repo.go
+++ b/models/organization/team_repo.go
@@ -37,7 +37,7 @@ type SearchTeamRepoOptions struct {
}
// GetRepositories returns paginated repositories in team of organization.
-func GetTeamRepositories(ctx context.Context, opts *SearchTeamRepoOptions) ([]*repo_model.Repository, error) {
+func GetTeamRepositories(ctx context.Context, opts *SearchTeamRepoOptions) (repo_model.RepositoryList, error) {
sess := db.GetEngine(ctx)
if opts.TeamID > 0 {
sess = sess.In("id",