mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 18:49:29 +02:00
models/repo_editor: improve code quality
This commit is contained in:
1 parent
f3c3258921
commit
2625193a48
9 files changed
+45
-41
No files matched your search
+1
-1
@@ -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