mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 08:08:37 +02:00
Use RepositoryList instead of []*Repository (#25074)
This commit is contained in:
1 parent
ca35dec18b
commit
11598885b3
6 files changed
+10
-10
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user