mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-17 14:00:01 +02:00
models/repo_editor: improve code quality
This commit is contained in:
parent
f3c3258921
commit
2625193a48
9 changed files with 45 additions and 41 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue