A small refactor to use context in the service layer (#35179)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2025-07-31 03:43:54 +00:00
1 parent c3f5ea3b1f
commit 84d31bc842
2 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -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