mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
Fix missed doer (#30231)
Fix #29879 Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 908426aa0fcc58961c345994f0f66056f6cf5f48)
This commit is contained in:
parent
84abf4bd91
commit
f544bb25b5
11 changed files with 55 additions and 55 deletions
|
@ -33,7 +33,7 @@ func ToAPIPullRequest(ctx context.Context, pr *issues_model.PullRequest, doer *u
|
|||
return nil
|
||||
}
|
||||
|
||||
apiIssue := ToAPIIssue(ctx, pr.Issue)
|
||||
apiIssue := ToAPIIssue(ctx, doer, pr.Issue)
|
||||
if err := pr.LoadBaseRepo(ctx); err != nil {
|
||||
log.Error("GetRepositoryById[%d]: %v", pr.ID, err)
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue