mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 06:38:06 +02:00
Use more IssueList instead of []*Issue (#26369)
This commit is contained in:
1 parent
ab0eb1c47b
commit
f5dbac9d36
4 files changed
+7
-8
No files matched your search
@@ -296,8 +296,7 @@ func NotificationSubscriptions(ctx *context.Context) {
|
||||
}
|
||||
ctx.Data["CommitStatus"] = commitStatus
|
||||
|
||||
issueList := issues_model.IssueList(issues)
|
||||
approvalCounts, err := issueList.GetApprovalCounts(ctx)
|
||||
approvalCounts, err := issues.GetApprovalCounts(ctx)
|
||||
if err != nil {
|
||||
ctx.ServerError("ApprovalCounts", err)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user