Revert unnecessary change

pull/32642/head
Lunny Xiao 7 days ago
parent b0b40680b5
commit dd0ebc6f06

@ -353,7 +353,6 @@ func (pr *PullRequest) LoadIssue(ctx context.Context) (err error) {
pr.Issue, err = GetIssueByID(ctx, pr.IssueID) pr.Issue, err = GetIssueByID(ctx, pr.IssueID)
if err == nil { if err == nil {
pr.Issue.PullRequest = pr pr.Issue.PullRequest = pr
pr.Issue.Repo = pr.BaseRepo
} }
return err return err
} }

Loading…
Cancel
Save