mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 13:00:10 +02:00
A small refactor to use context in the service layer (#35179)
This commit is contained in:
1 parent
c3f5ea3b1f
commit
84d31bc842
2 files changed
+4
-7
No files matched your search
@@ -581,7 +581,7 @@ func GetPullCommits(ctx *context.Context) {
|
||||
}
|
||||
resp := &pullCommitList{}
|
||||
|
||||
commits, lastReviewCommitSha, err := pull_service.GetPullCommits(ctx, issue)
|
||||
commits, lastReviewCommitSha, err := pull_service.GetPullCommits(ctx, ctx.Repo.GitRepo, ctx.Doer, issue)
|
||||
if err != nil {
|
||||
ctx.JSON(http.StatusInternalServerError, err)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user