diff options
Diffstat (limited to 'routers/api/v1/repo/issue.go')
-rw-r--r-- | routers/api/v1/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go index b83f7e66b9..fe967ae0a5 100644 --- a/routers/api/v1/repo/issue.go +++ b/routers/api/v1/repo/issue.go @@ -25,9 +25,9 @@ func ListIssues(ctx *context.APIContext) { return } + // FIXME: use IssueList to improve performance. apiIssues := make([]*api.Issue, len(issues)) for i := range issues { - // FIXME: use IssueList to improve performance. if err = issues[i].LoadAttributes(); err != nil { ctx.Error(500, "LoadAttributes", err) return |