forked from forgejo/forgejo
Improve issues.LoadProject (#22982)
issues.LoadProject() is no use change `issues.loadProject(ctx)` to issues.LoadProject(ctx)
This commit is contained in:
parent
cfc7a4efdb
commit
f4ce8c73fb
2 changed files with 2 additions and 6 deletions
|
@ -347,7 +347,7 @@ func (issue *Issue) LoadAttributes(ctx context.Context) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
if err = issue.loadProject(ctx); err != nil {
|
||||
if err = issue.LoadProject(ctx); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue