mirror of
https://gitee.com/gitea/gitea
synced 2025-11-15 05:50:25 +08:00
models/repo_editor: improve code quality
This commit is contained in:
@@ -388,7 +388,7 @@ func NewPullRequest(repo *Repository, pull *Issue, labelIDs []int64, uuids []str
|
||||
return err
|
||||
}
|
||||
|
||||
if err = newIssue(sess, &NewIssueOptions{
|
||||
if err = newIssue(sess, NewIssueOptions{
|
||||
Repo: repo,
|
||||
Issue: pull,
|
||||
LableIDs: labelIDs,
|
||||
|
||||
Reference in New Issue
Block a user