File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ func (issue *Issue) LoadAttributes(ctx context.Context) (err error) {
347347 return
348348 }
349349
350- if err = issue .loadProject (ctx ); err != nil {
350+ if err = issue .LoadProject (ctx ); err != nil {
351351 return
352352 }
353353
Original file line number Diff line number Diff line change @@ -13,11 +13,7 @@ import (
1313)
1414
1515// LoadProject load the project the issue was assigned to
16- func (issue * Issue ) LoadProject () (err error ) {
17- return issue .loadProject (db .DefaultContext )
18- }
19-
20- func (issue * Issue ) loadProject (ctx context.Context ) (err error ) {
16+ func (issue * Issue ) LoadProject (ctx context.Context ) (err error ) {
2117 if issue .Project == nil {
2218 var p project_model.Project
2319 if _ , err = db .GetEngine (ctx ).Table ("project" ).
You can’t perform that action at this time.
0 commit comments