summaryrefslogtreecommitdiffstats
path: root/routers/user/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/home.go')
-rw-r--r--routers/user/home.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index a36483630e..1c9e82c6df 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -339,13 +339,13 @@ func Issues(ctx *middleware.Context) {
issues := make([]*models.Issue, len(ius))
for i := range ius {
- issues[i], err = models.GetIssueById(ius[i].IssueId)
+ issues[i], err = models.GetIssueById(ius[i].IssueID)
if err != nil {
if err == models.ErrIssueNotExist {
- log.Warn("user.Issues(GetIssueById #%d): issue not exist", ius[i].IssueId)
+ log.Warn("user.Issues(GetIssueById #%d): issue not exist", ius[i].IssueID)
continue
} else {
- ctx.Handle(500, fmt.Sprintf("user.Issues(GetIssueById #%d)", ius[i].IssueId), err)
+ ctx.Handle(500, fmt.Sprintf("user.Issues(GetIssueById #%d)", ius[i].IssueID), err)
return
}
}