mirror of
https://github.com/go-gitea/gitea
synced 2024-05-23 13:53:57 +02:00
Fix test
This commit is contained in:
parent
2963ac4eaa
commit
63093769f2
|
@ -111,6 +111,7 @@ func NewIssueLabel(ctx context.Context, issue *Issue, label *Label, doer *user_m
|
|||
return err
|
||||
}
|
||||
|
||||
issue.isLabelsLoaded = false
|
||||
issue.Labels = nil
|
||||
if err = issue.LoadLabels(ctx); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue