summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-02 09:28:45 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-02 09:31:44 +0100
commite8e0539b454d622c1c428d03ac9c6f40d2654600 (patch)
tree3489dde790d31a7a249e2326bbdd97fae5beec3d /routers
parente6cfccdd40397b95dcf3de0ea9b484feea954fc2 (diff)
downloadgitea-e8e0539b454d622c1c428d03ac9c6f40d2654600.tar.gz
gitea-e8e0539b454d622c1c428d03ac9c6f40d2654600.zip
Linting
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/repo/issue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go
index 8501334ade..908b5aeb96 100644
--- a/routers/api/v1/repo/issue.go
+++ b/routers/api/v1/repo/issue.go
@@ -30,12 +30,12 @@ func ListIssues(ctx *context.APIContext) {
}
if ctx.Query("state") == "all" {
issueOpts.IsClosed = !issueOpts.IsClosed
- temp_issues, err := models.Issues(&issueOpts)
+ tempIssues, err := models.Issues(&issueOpts)
if err != nil {
ctx.Error(500, "Issues", err)
return
}
- issues = append(issues, temp_issues...)
+ issues = append(issues, tempIssues...)
}
// FIXME: use IssueList to improve performance.