Skip to content

Commit 0d65d71

Browse files
committed
Load issue attributes instead of only loading pullrequest details
1 parent 6f9647b commit 0d65d71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/web/repo/pull_review.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ func renderConversation(ctx *context.Context, comment *issues_model.Comment, ori
194194
ctx.ServerError("CanMarkConversation", err)
195195
return
196196
}
197-
if err = comment.Issue.LoadPullRequest(ctx); err != nil {
198-
ctx.ServerError("comment.Issue.LoadPullRequest", err)
197+
if err = comment.Issue.LoadAttributes(ctx); err != nil {
198+
ctx.ServerError("comment.Issue.LoadAttributes", err)
199199
return
200200
}
201201
ctx.Data["Issue"] = comment.Issue

0 commit comments

Comments
 (0)