diff options
author | Unknwon <u@gogs.io> | 2016-08-15 22:20:55 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-15 22:20:55 -0700 |
commit | 2625193a4820a89355ca1b8b7c910f0f4243baab (patch) | |
tree | c948d66e4e968caaff0109f808878af45bed0eec /models/pull.go | |
parent | f3c325892139a4dae84ceda773b7caf5aef67d33 (diff) | |
download | gitea-2625193a4820a89355ca1b8b7c910f0f4243baab.tar.gz gitea-2625193a4820a89355ca1b8b7c910f0f4243baab.zip |
models/repo_editor: improve code quality
Diffstat (limited to 'models/pull.go')
-rw-r--r-- | models/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go index 09c20df82c..fb967cd306 100644 --- a/models/pull.go +++ b/models/pull.go @@ -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, |