mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Move some issue methods as functions (#19255)
* Move some issue methods as functions * Fix bug
This commit is contained in:
@ -69,7 +69,7 @@ func NewPullRequest(ctx context.Context, repo *repo_model.Repository, pull *mode
|
||||
return err
|
||||
}
|
||||
|
||||
mentions, err := pull.FindAndUpdateIssueMentions(ctx, pull.Poster, pull.Content)
|
||||
mentions, err := models.FindAndUpdateIssueMentions(ctx, pull, pull.Poster, pull.Content)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user