summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index a2f4022a73..cabb9e63c1 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -935,9 +935,9 @@ func ViewIssue(ctx *context.Context) {
}
ctx.Data["IsPullBranchDeletable"] = canDelete && pull.HeadRepo != nil && git.IsBranchExist(pull.HeadRepo.RepoPath(), pull.HeadBranch)
- ctx.Data["PullReviewersWithType"], err = models.GetReviewersByPullID(issue.ID)
+ ctx.Data["PullReviewers"], err = models.GetReviewersByIssueID(issue.ID)
if err != nil {
- ctx.ServerError("GetReviewersByPullID", err)
+ ctx.ServerError("GetReviewersByIssueID", err)
return
}
}