bug fixed on issues and pulls

This commit is contained in:
Lunny Xiao 2017-02-15 00:02:03 +08:00 committed by Kim "BKC" Carlbäcker
parent cf47532ebc
commit 9c645b54dc
2 changed files with 21 additions and 9 deletions

View file

@ -657,7 +657,6 @@ func (env *accessibleReposEnv) Repos(page, pageSize int) ([]*Repository, error)
}
repos := make([]*Repository, 0, len(repoIDs))
if len(repoIDs) <= 0 {
return repos, nil
}