aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/issue_list.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-06-05 15:25:47 +0800
committerGitHub <noreply@github.com>2023-06-05 15:25:47 +0800
commit11598885b36871ba19e961fa59efecd38c17e01e (patch)
tree7c17b4c258e1cd2f457a44f09ed15317b01b9e24 /models/issues/issue_list.go
parentca35dec18b3d3d7dd5cde4c69a10ae830961faf7 (diff)
downloadgitea-11598885b36871ba19e961fa59efecd38c17e01e.tar.gz
gitea-11598885b36871ba19e961fa59efecd38c17e01e.zip
Use RepositoryList instead of []*Repository (#25074)
Diffstat (limited to 'models/issues/issue_list.go')
-rw-r--r--models/issues/issue_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/issue_list.go b/models/issues/issue_list.go
index 6ddadd27ed..dad21c1477 100644
--- a/models/issues/issue_list.go
+++ b/models/issues/issue_list.go
@@ -34,7 +34,7 @@ func (issues IssueList) getRepoIDs() []int64 {
}
// LoadRepositories loads issues' all repositories
-func (issues IssueList) LoadRepositories(ctx context.Context) ([]*repo_model.Repository, error) {
+func (issues IssueList) LoadRepositories(ctx context.Context) (repo_model.RepositoryList, error) {
if len(issues) == 0 {
return nil, nil
}