mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-07 02:45:22 +02:00
Use more IssueList
instead of []*Issue
(#26369)
This commit is contained in:
parent
ab0eb1c47b
commit
f5dbac9d36
4 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue