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